Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001577/0.001577, allocations: 195.6 kB / 16.25 MB, free: 6.621 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.796/1.796, allocations: 205.1 MB / 222.1 MB, free: 4.695 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.637/1.637, allocations: 251.6 MB / 0.5089 GB, free: 3.305 MB / 414.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.001707/0.001708, allocations: 75.91 kB / 0.6218 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.729/0.7308, allocations: 104.7 MB / 0.724 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.008104/0.7389, allocations: 4.335 MB / 0.7282 GB, free: 8.758 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005087/0.7441, allocations: 2.397 MB / 0.7306 GB, free: 6.348 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004033/0.7445, allocations: 15.88 kB / 0.7306 GB, free: 6.332 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001413/0.746, allocations: 342.7 kB / 0.7309 GB, free: 5.996 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00147/0.7475, allocations: 346.5 kB / 0.7312 GB, free: 5.656 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001299/0.7488, allocations: 294 kB / 0.7315 GB, free: 5.371 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001199/0.7501, allocations: 0.6827 MB / 0.7322 GB, free: 4.688 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007403/0.7508, allocations: 292 kB / 0.7325 GB, free: 4.398 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004426/0.7513, allocations: 258.9 kB / 0.7327 GB, free: 4.145 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005077/0.7518, allocations: 274.9 kB / 0.733 GB, free: 3.875 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.285e-05/0.7519, allocations: 28 kB / 0.733 GB, free: 3.848 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001036/0.7529, allocations: 435 kB / 0.7334 GB, free: 3.422 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002168/0.7532, allocations: 143.5 kB / 0.7336 GB, free: 3.281 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003065/0.7535, allocations: 242.6 kB / 0.7338 GB, free: 3.043 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001245/0.7548, allocations: 0.7592 MB / 0.7345 GB, free: 2.281 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.7548, allocations: 4 kB / 0.7345 GB, free: 2.277 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.522e-06/0.7548, allocations: 0 / 0.7345 GB, free: 2.277 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.001e-05/0.7548, allocations: 0 / 0.7345 GB, free: 2.277 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001497/0.7563, allocations: 0.7832 MB / 0.7353 GB, free: 1.445 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.7564, allocations: 11.97 kB / 0.7353 GB, free: 1.434 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002061/0.7584, allocations: 184.1 kB / 0.7355 GB, free: 1.254 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006021/0.7591, allocations: 412.5 kB / 0.7359 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.603e-05/0.7591, allocations: 21.38 kB / 0.7359 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.129e-05/0.7592, allocations: 32.36 kB / 0.7359 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/0.7605, allocations: 0.664 MB / 0.7366 GB, free: 4 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/0.7606, allocations: 0 / 0.7366 GB, free: 4 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.424e-05/0.7607, allocations: 16.08 kB / 0.7366 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001233/0.7608, allocations: 55.89 kB / 0.7366 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/0.7619, allocations: 495.4 kB / 0.7371 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004502/0.7664, allocations: 3.794 MB / 0.7408 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002249/0.7687, allocations: 0.6283 MB / 0.7414 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003482/0.769, allocations: 182.4 kB / 0.7416 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.564e-05/0.7691, allocations: 4 kB / 0.7416 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.956e-05/0.7691, allocations: 38.56 kB / 0.7417 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=30): time 3.236e-06/0.7692, allocations: 0 / 0.7417 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.0037/0.7729, allocations: 1.277 MB / 0.7429 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.773, allocations: 102.8 kB / 0.743 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007319/0.7737, allocations: 397.8 kB / 0.7434 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.173e-05/0.7738, allocations: 33.7 kB / 0.7434 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002628/0.7741, allocations: 283.4 kB / 0.7437 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001494/0.7742, allocations: 118.4 kB / 0.7438 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001439/0.7744, allocations: 102.1 kB / 0.7439 GB, free: 8.078 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001873/0.7746, allocations: 354.8 kB / 0.7442 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002543/0.7748, allocations: 173 kB / 0.7444 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005593/0.7754, allocations: 387.2 kB / 0.7448 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.7765, allocations: 0.591 MB / 0.7453 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.7766, allocations: 3.938 kB / 0.7453 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001738/0.7783, allocations: 0.6752 MB / 0.746 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.697e-05/0.7784, allocations: 9.875 kB / 0.746 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.836e-05/0.7784, allocations: 4 kB / 0.746 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004902/0.7789, allocations: 102.4 kB / 0.7461 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005823/0.7795, allocations: 111.8 kB / 0.7462 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004972/0.7845, allocations: 4.344 MB / 0.7505 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005767/0.7851, allocations: 31.97 kB / 0.7505 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.452e-05/0.7851, allocations: 20 kB / 0.7505 GB, free: 0.6641 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004043/0.7856, allocations: 202.6 kB / 0.7507 GB, free: 468 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001875/0.7858, allocations: 47.44 kB / 0.7508 GB, free: 420 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001295/0.7871, allocations: 0.5146 MB / 0.7513 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.393e-06/0.7871, allocations: 4 kB / 0.7513 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.7871, allocations: 4 kB / 0.7513 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.7871, allocations: 0 / 0.7513 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002671/0.7898, allocations: 1.296 MB / 0.7525 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/0.7898, allocations: 4 kB / 0.7525 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003729/0.7902, allocations: 59.89 kB / 0.7526 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003807/0.7906, allocations: 82.52 kB / 0.7527 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.143e-05/0.7906, allocations: 19.92 kB / 0.7527 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004814/0.7955, allocations: 4.332 MB / 0.7569 GB, free: 9.551 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.7955, allocations: 4 kB / 0.7569 GB, free: 9.547 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001398/0.7969, allocations: 0.7858 MB / 0.7577 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002625/0.7972, allocations: 152.4 kB / 0.7578 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.439e-05/0.7973, allocations: 12 kB / 0.7578 GB, free: 8.527 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000508/0.7978, allocations: 23.97 kB / 0.7579 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.451e-05/0.7979, allocations: 31.84 kB / 0.7579 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.782e-05/0.798, allocations: 16 kB / 0.7579 GB, free: 8.457 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004733/0.7984, allocations: 279.1 kB / 0.7582 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.6e-07/0.7985, allocations: 0 / 0.7582 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00112/0.7996, allocations: 120 kB / 0.7583 GB, free: 8.074 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002442/0.7998, allocations: 115.2 kB / 0.7584 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001737/0.8016, allocations: 0.8222 MB / 0.7592 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.8016, allocations: 0 / 0.7592 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009848/0.8026, allocations: 0.5436 MB / 0.7597 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001308/0.8039, allocations: 141.8 kB / 0.7599 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002025/0.806, allocations: 1.092 MB / 0.7609 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005203/0.8065, allocations: 0.8586 MB / 0.7618 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002989/0.8068, allocations: 104.5 kB / 0.7619 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.626e-05/0.8069, allocations: 43.42 kB / 0.7619 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of SimCode: time 1.132e-06/0.8069, allocations: 0 / 0.7619 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of Templates: time 0.01055/0.8175, allocations: 5.781 MB / 0.7676 GB, free: 14.46 MB / 0.5919 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1)