Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.252/2.252, allocations: 391.2 MB / 407 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 190.7 kB / 499.1 MB, free: 4.613 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.581/1.581, allocations: 222.9 MB / 0.7948 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 108.1 kB / 0.9329 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001099/0.001099, allocations: 50.31 kB / 1.081 GB, free: 218 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2372, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004197/0.2414, allocations: 3.306 MB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.002483/0.2439, allocations: 1.87 MB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002072/0.2441, allocations: 4 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0008044/0.245, allocations: 274.6 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.000524/0.2455, allocations: 203.2 kB / 1.224 GB, free: 111.6 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006789/0.2462, allocations: 263.5 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.000517/0.2467, allocations: 0.5649 MB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004435/0.2472, allocations: 196.8 kB / 1.225 GB, free: 110.6 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002286/0.2474, allocations: 139.5 kB / 1.225 GB, free: 110.4 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003492/0.2478, allocations: 203.3 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 4.198e-05/0.2478, allocations: 16 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004309/0.2483, allocations: 283.4 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.2484, allocations: 111.7 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001222/0.2485, allocations: 139.3 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0004843/0.249, allocations: 488.5 kB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.249, allocations: 0 / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of FrontEnd: time 9.42e-07/0.249, allocations: 0 / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.22e-05/0.2491, allocations: 0 / 1.226 GB, free: 109.2 MB / 0.823 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.001097/0.2502, allocations: 0.581 MB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.2502, allocations: 11.98 kB / 1.227 GB, free: 108.6 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007622/0.251, allocations: 100.5 kB / 1.227 GB, free: 108.5 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003419/0.2513, allocations: 282.9 kB / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.2513, allocations: 20.92 kB / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.2515, allocations: 40.48 kB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005067/0.252, allocations: 441.1 kB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.252, allocations: 4 kB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.314e-05/0.252, allocations: 15.98 kB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001284/0.2522, allocations: 40.47 kB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004317/0.2526, allocations: 346 kB / 1.228 GB, free: 107.2 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001891/0.2545, allocations: 2.21 MB / 1.23 GB, free: 104.8 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003405/0.2549, allocations: 266.4 kB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/0.255, allocations: 164.8 kB / 1.23 GB, free: 104.4 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.2551, allocations: 4 kB / 1.23 GB, free: 104.4 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.613e-05/0.2551, allocations: 34.56 kB / 1.23 GB, free: 104.4 MB / 0.823 GB Notification: Performance of pre-optimization done (n=22): time 1.663e-06/0.2551, allocations: 0 / 1.23 GB, free: 104.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=23): time 0.001462/0.2566, allocations: 1.05 MB / 1.231 GB, free: 103.2 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.436e-05/0.2566, allocations: 51.41 kB / 1.231 GB, free: 103.2 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.2568, allocations: 256.8 kB / 1.232 GB, free: 102.9 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.2569, allocations: 29.7 kB / 1.232 GB, free: 102.9 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 8.998e-05/0.257, allocations: 192 kB / 1.232 GB, free: 102.7 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 4.56e-05/0.257, allocations: 90.62 kB / 1.232 GB, free: 102.6 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.2571, allocations: 77.59 kB / 1.232 GB, free: 102.5 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.657e-05/0.2572, allocations: 330.8 kB / 1.232 GB, free: 102.2 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001929/0.2574, allocations: 151.9 kB / 1.232 GB, free: 102 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002116/0.2576, allocations: 237.6 kB / 1.233 GB, free: 101.8 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004142/0.258, allocations: 406.8 kB / 1.233 GB, free: 101.3 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.258, allocations: 7.938 kB / 1.233 GB, free: 101.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008895/0.2589, allocations: 0.5778 MB / 1.234 GB, free: 100.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.259, allocations: 8.781 kB / 1.234 GB, free: 100.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.259, allocations: 4 kB / 1.234 GB, free: 100.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005971/0.2596, allocations: 192.8 kB / 1.234 GB, free: 100.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002465/0.2598, allocations: 59.91 kB / 1.234 GB, free: 100.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002026/0.2619, allocations: 2.296 MB / 1.236 GB, free: 98.05 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002738/0.2622, allocations: 23.97 kB / 1.236 GB, free: 98.03 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/0.2622, allocations: 12 kB / 1.236 GB, free: 98.02 MB / 0.823 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.0001231/0.2623, allocations: 166.3 kB / 1.236 GB, free: 97.85 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.99e-05/0.2624, allocations: 27.66 kB / 1.236 GB, free: 97.82 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004288/0.2628, allocations: 359.5 kB / 1.237 GB, free: 97.46 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.2628, allocations: 0 / 1.237 GB, free: 97.46 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.2628, allocations: 4.109 kB / 1.237 GB, free: 97.46 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2628, allocations: 11.86 kB / 1.237 GB, free: 97.45 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008031/0.2637, allocations: 0.8104 MB / 1.238 GB, free: 96.58 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2637, allocations: 0 / 1.238 GB, free: 96.58 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003581/0.264, allocations: 79.88 kB / 1.238 GB, free: 96.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.264, allocations: 4.062 kB / 1.238 GB, free: 96.5 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/0.2641, allocations: 11.98 kB / 1.238 GB, free: 96.48 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.2641, allocations: 0 / 1.238 GB, free: 96.48 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.2641, allocations: 4 kB / 1.238 GB, free: 96.48 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00273/0.2668, allocations: 2.646 MB / 1.24 GB, free: 93.7 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.2669, allocations: 124.8 kB / 1.24 GB, free: 93.55 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.587e-05/0.267, allocations: 11.98 kB / 1.24 GB, free: 93.54 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/0.2672, allocations: 15.92 kB / 1.24 GB, free: 93.53 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.316e-05/0.2672, allocations: 27.86 kB / 1.24 GB, free: 93.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.2673, allocations: 4 kB / 1.24 GB, free: 93.5 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001233/0.2674, allocations: 180.5 kB / 1.241 GB, free: 93.32 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2674, allocations: 0 / 1.241 GB, free: 93.32 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004721/0.2679, allocations: 116.1 kB / 1.241 GB, free: 93.21 MB / 0.823 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.000147/0.268, allocations: 103.2 kB / 1.241 GB, free: 93.09 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0007639/0.2688, allocations: 0.5333 MB / 1.241 GB, free: 92.55 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.2688, allocations: 4 kB / 1.241 GB, free: 92.54 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001628/0.269, allocations: 147.9 kB / 1.241 GB, free: 92.4 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004406/0.2694, allocations: 60.12 kB / 1.242 GB, free: 92.34 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.2709, allocations: 1.133 MB / 1.243 GB, free: 91.16 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000236/0.2711, allocations: 0.8029 MB / 1.243 GB, free: 90.33 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0002069/0.2713, allocations: 86.91 kB / 1.243 GB, free: 90.25 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.389e-05/0.2714, allocations: 27.42 kB / 1.244 GB, free: 90.22 MB / 0.823 GB Notification: Performance of SimCode: time 4.51e-07/0.2714, allocations: 0 / 1.244 GB, free: 90.22 MB / 0.823 GB Notification: Performance of Templates: time 0.007579/0.279, allocations: 4.521 MB / 1.248 GB, free: 85.72 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1)