Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002486/0.002486, allocations: 185.6 kB / 16.64 MB, free: 6.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.502/1.502, allocations: 205.1 MB / 222.5 MB, free: 4.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.73/1.73, allocations: 292.3 MB / 0.549 GB, free: 12.74 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 66.12 kB / 0.6723 GB, free: 26.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.2342, allocations: 114.6 MB / 0.7841 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004998/0.2393, allocations: 3.264 MB / 0.7873 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003089/0.2424, allocations: 1.863 MB / 0.7891 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001523/0.2426, allocations: 7.938 kB / 0.7891 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008954/0.2435, allocations: 286.8 kB / 0.7894 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004589/0.244, allocations: 215 kB / 0.7896 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006531/0.2446, allocations: 290.5 kB / 0.7899 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004447/0.2451, allocations: 402.8 kB / 0.7903 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003576/0.2455, allocations: 212.1 kB / 0.7905 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002108/0.2457, allocations: 159.5 kB / 0.7906 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003677/0.2461, allocations: 199.3 kB / 0.7908 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.769e-05/0.2461, allocations: 24 kB / 0.7909 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003669/0.2465, allocations: 235.5 kB / 0.7911 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.2466, allocations: 115.7 kB / 0.7912 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001372/0.2468, allocations: 147.2 kB / 0.7913 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005243/0.2473, allocations: 482.5 kB / 0.7918 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2473, allocations: 0 / 0.7918 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2473, allocations: 0 / 0.7918 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.2473, allocations: 0 / 0.7918 GB, free: 4.883 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001007/0.2483, allocations: 0.5888 MB / 0.7924 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.2484, allocations: 12.02 kB / 0.7924 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007177/0.2491, allocations: 88.47 kB / 0.7925 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003559/0.2495, allocations: 284.4 kB / 0.7927 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.307e-05/0.2495, allocations: 20.94 kB / 0.7928 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.2496, allocations: 40.72 kB / 0.7928 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006209/0.2503, allocations: 437.1 kB / 0.7932 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.2503, allocations: 7.922 kB / 0.7932 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.558e-05/0.2503, allocations: 19.98 kB / 0.7932 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001348/0.2505, allocations: 40.47 kB / 0.7933 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005159/0.251, allocations: 349.9 kB / 0.7936 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002292/0.2533, allocations: 2.191 MB / 0.7957 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004153/0.2537, allocations: 270.4 kB / 0.796 GB, free: 236 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002259/0.254, allocations: 160.8 kB / 0.7962 GB, free: 72 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.254, allocations: 4 kB / 0.7962 GB, free: 68 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.254, allocations: 34.56 kB / 0.7962 GB, free: 24 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=22): time 1.563e-06/0.254, allocations: 3.938 kB / 0.7962 GB, free: 20 kB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.001782/0.2558, allocations: 1.059 MB / 0.7972 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.898e-05/0.2559, allocations: 59.34 kB / 0.7973 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002479/0.2561, allocations: 248.9 kB / 0.7975 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.836e-05/0.2562, allocations: 29.7 kB / 0.7976 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.2563, allocations: 192 kB / 0.7977 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.977e-05/0.2564, allocations: 90.66 kB / 0.7978 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/0.2565, allocations: 73.59 kB / 0.7979 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.2567, allocations: 334.8 kB / 0.7982 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002263/0.2569, allocations: 147.9 kB / 0.7984 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002926/0.2572, allocations: 241.5 kB / 0.7986 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005051/0.2577, allocations: 406.8 kB / 0.799 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2577, allocations: 0 / 0.799 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001054/0.2588, allocations: 0.5858 MB / 0.7995 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.2588, allocations: 4.938 kB / 0.7996 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.2588, allocations: 4 kB / 0.7996 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000656/0.2595, allocations: 188.9 kB / 0.7997 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002806/0.2598, allocations: 59.89 kB / 0.7998 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002845/0.2626, allocations: 2.496 MB / 0.8022 GB, free: 9.508 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00028/0.2629, allocations: 19.98 kB / 0.8022 GB, free: 9.488 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.185e-05/0.263, allocations: 15.98 kB / 0.8023 GB, free: 9.473 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001794/0.2631, allocations: 165.8 kB / 0.8024 GB, free: 9.301 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.583e-05/0.2632, allocations: 23.66 kB / 0.8024 GB, free: 9.277 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005249/0.2637, allocations: 359.5 kB / 0.8028 GB, free: 8.926 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.2638, allocations: 4 kB / 0.8028 GB, free: 8.922 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.2638, allocations: 0 / 0.8028 GB, free: 8.922 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.2638, allocations: 0 / 0.8028 GB, free: 8.922 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.2648, allocations: 0.8082 MB / 0.8036 GB, free: 8.051 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.2648, allocations: 0 / 0.8036 GB, free: 8.051 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003973/0.2652, allocations: 87.94 kB / 0.8037 GB, free: 7.965 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.2653, allocations: 0 / 0.8037 GB, free: 7.965 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.43e-05/0.2653, allocations: 8 kB / 0.8037 GB, free: 7.957 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.2653, allocations: 4 kB / 0.8037 GB, free: 7.953 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2653, allocations: 3.938 kB / 0.8037 GB, free: 7.949 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007327/0.266, allocations: 0.6177 MB / 0.8043 GB, free: 7.312 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001245/0.2662, allocations: 124.8 kB / 0.8044 GB, free: 7.172 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.397e-05/0.2662, allocations: 8 kB / 0.8044 GB, free: 7.164 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001976/0.2664, allocations: 12.08 kB / 0.8044 GB, free: 7.152 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.726e-05/0.2665, allocations: 23.89 kB / 0.8044 GB, free: 7.129 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.459e-05/0.2665, allocations: 8 kB / 0.8045 GB, free: 7.121 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001637/0.2667, allocations: 176.5 kB / 0.8046 GB, free: 6.953 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2667, allocations: 0 / 0.8046 GB, free: 6.953 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003896/0.2671, allocations: 92 kB / 0.8047 GB, free: 6.863 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001546/0.2672, allocations: 123.1 kB / 0.8048 GB, free: 6.73 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008895/0.2681, allocations: 0.5261 MB / 0.8053 GB, free: 6.191 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.2681, allocations: 0 / 0.8053 GB, free: 6.191 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001988/0.2684, allocations: 159.8 kB / 0.8055 GB, free: 6.035 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004052/0.2688, allocations: 50.97 kB / 0.8055 GB, free: 5.988 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.2701, allocations: 0.8249 MB / 0.8063 GB, free: 5.125 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/0.2705, allocations: 0.7951 MB / 0.8071 GB, free: 4.305 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000195/0.2707, allocations: 74.91 kB / 0.8072 GB, free: 4.234 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.403e-05/0.2708, allocations: 19.44 kB / 0.8072 GB, free: 4.215 MB / 0.6231 GB Notification: Performance of SimCode: time 2.5e-07/0.2708, allocations: 0 / 0.8072 GB, free: 4.215 MB / 0.6231 GB Notification: Performance of Templates: time 0.007663/0.2785, allocations: 3.983 MB / 0.8111 GB, free: 264 kB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1)