Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 113 kB / 17.09 MB, free: 5.961 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.001544/0.001545, allocations: 194.9 kB / 18.02 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.278/1.278, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6892/0.6892, allocations: 115.3 MB / 407.2 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001044/0.001044, allocations: 68.17 kB / 0.5583 GB, free: 32.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1439, allocations: 76.18 MB / 0.6327 GB, free: 4.52 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.006459/0.1504, allocations: 5.046 MB / 0.6377 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004745/0.1551, allocations: 3.374 MB / 0.641 GB, free: 12.06 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002005/0.1554, allocations: 11.94 kB / 0.641 GB, free: 12.05 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001346/0.1568, allocations: 0.5196 MB / 0.6415 GB, free: 11.53 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007672/0.1575, allocations: 383.7 kB / 0.6419 GB, free: 11.15 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005772/0.1581, allocations: 271.3 kB / 0.6421 GB, free: 10.89 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008242/0.159, allocations: 0.6464 MB / 0.6427 GB, free: 10.24 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000615/0.1596, allocations: 0.5365 MB / 0.6433 GB, free: 9.699 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000339/0.1599, allocations: 291 kB / 0.6435 GB, free: 9.414 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004402/0.1604, allocations: 295 kB / 0.6438 GB, free: 9.125 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.332e-05/0.1605, allocations: 44 kB / 0.6439 GB, free: 9.082 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005252/0.161, allocations: 303.5 kB / 0.6442 GB, free: 8.785 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001678/0.1612, allocations: 171.5 kB / 0.6443 GB, free: 8.617 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002273/0.1614, allocations: 242.9 kB / 0.6446 GB, free: 8.379 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008337/0.1623, allocations: 0.8374 MB / 0.6454 GB, free: 7.539 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1623, allocations: 0 / 0.6454 GB, free: 7.539 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1623, allocations: 0 / 0.6454 GB, free: 7.539 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.1623, allocations: 0 / 0.6454 GB, free: 7.539 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001281/0.1636, allocations: 0.7949 MB / 0.6461 GB, free: 6.691 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.1636, allocations: 8.031 kB / 0.6462 GB, free: 6.684 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002886/0.1665, allocations: 0.6867 MB / 0.6468 GB, free: 5.996 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006292/0.1672, allocations: 471.8 kB / 0.6473 GB, free: 5.5 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.1672, allocations: 28.95 kB / 0.6473 GB, free: 5.473 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.705e-05/0.1673, allocations: 32.12 kB / 0.6473 GB, free: 5.441 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001503/0.1688, allocations: 0.8434 MB / 0.6482 GB, free: 4.566 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.1688, allocations: 0 / 0.6482 GB, free: 4.566 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.069e-05/0.1689, allocations: 15.94 kB / 0.6482 GB, free: 4.551 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001668/0.169, allocations: 60.59 kB / 0.6482 GB, free: 4.492 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002004/0.171, allocations: 0.9272 MB / 0.6491 GB, free: 3.562 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003505/0.1746, allocations: 2.851 MB / 0.6519 GB, free: 0.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001673/0.1762, allocations: 0.5527 MB / 0.6525 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000768/0.177, allocations: 308.6 kB / 0.6528 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.365e-05/0.1771, allocations: 81.11 kB / 0.6528 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.1772, allocations: 42.56 kB / 0.6529 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=22): time 1.603e-06/0.1772, allocations: 0 / 0.6529 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.01274/0.1899, allocations: 3.493 MB / 0.6563 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.19, allocations: 59.41 kB / 0.6563 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004474/0.1904, allocations: 404.3 kB / 0.6567 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.741e-05/0.1905, allocations: 33.7 kB / 0.6568 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001454/0.1906, allocations: 227.9 kB / 0.657 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.1907, allocations: 110.4 kB / 0.6571 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001662/0.1909, allocations: 77.69 kB / 0.6572 GB, free: 11 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.191, allocations: 350.8 kB / 0.6575 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000967/0.192, allocations: 392.5 kB / 0.6579 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009906/0.193, allocations: 468.2 kB / 0.6583 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001949/0.195, allocations: 0.8437 MB / 0.6591 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.195, allocations: 0 / 0.6591 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.005304/0.2003, allocations: 1.65 MB / 0.6607 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.2003, allocations: 8 kB / 0.6608 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.2004, allocations: 3.938 kB / 0.6608 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003751/0.2041, allocations: 0.8764 MB / 0.6616 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007052/0.2048, allocations: 127.8 kB / 0.6617 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008087/0.2129, allocations: 6.669 MB / 0.6682 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008557/0.2138, allocations: 115.9 kB / 0.6684 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.228e-05/0.2139, allocations: 19.98 kB / 0.6684 GB, free: 15 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001207/0.2151, allocations: 0.5772 MB / 0.6689 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000985/0.2161, allocations: 448.2 kB / 0.6694 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001932/0.2181, allocations: 0.8116 MB / 0.6702 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.395e-06/0.2181, allocations: 7.938 kB / 0.6702 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.004954/0.223, allocations: 1.641 MB / 0.6718 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.2231, allocations: 8 kB / 0.6718 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.2231, allocations: 4 kB / 0.6718 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002642/0.2257, allocations: 0.6432 MB / 0.6724 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006713/0.2264, allocations: 131.8 kB / 0.6725 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007005/0.2334, allocations: 7.295 MB / 0.6797 GB, free: 2.754 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008688/0.2343, allocations: 107.8 kB / 0.6798 GB, free: 2.648 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-05/0.2344, allocations: 16 kB / 0.6798 GB, free: 2.633 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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): 29 * 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): 2 systems {(2,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002391/0.2347, allocations: 200.3 kB / 0.68 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/0.2348, allocations: 43.45 kB / 0.68 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004835/0.2396, allocations: 1.54 MB / 0.6815 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.2397, allocations: 0 / 0.6815 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.2397, allocations: 0 / 0.6815 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002619/0.2399, allocations: 176.6 kB / 0.6817 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.558e-05/0.24, allocations: 8 kB / 0.6817 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006376/0.2407, allocations: 79.86 kB / 0.6818 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/0.2408, allocations: 35.94 kB / 0.6818 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003866/0.2447, allocations: 1.303 MB / 0.6831 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002536/0.2473, allocations: 1.242 MB / 0.6843 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007214/0.248, allocations: 347.7 kB / 0.6846 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000485/0.2485, allocations: 303.1 kB / 0.6849 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of Backend: time 3.61e-07/0.2485, allocations: 3.938 kB / 0.6849 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004946/0.2535, allocations: 2.118 MB / 0.687 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of SimCode: time 0.002126/0.2556, allocations: 1.525 MB / 0.6885 GB, free: 9.508 MB / 0.5294 GB Notification: Performance of Templates: time 0.02749/0.2831, allocations: 17.36 MB / 0.7054 GB, free: 8.227 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)