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.001181/0.001181, allocations: 117.2 kB / 17.09 MB, free: 6.012 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.001062/0.001062, allocations: 195 kB / 18.02 MB, free: 5.094 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.411/1.411, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7198/0.7198, allocations: 115.3 MB / 407.2 MB, free: 6.078 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 71.19 kB / 0.5583 GB, free: 32.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1371, allocations: 76.18 MB / 0.6327 GB, free: 4.402 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.007398/0.1445, allocations: 5.066 MB / 0.6377 GB, free: 15.31 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005232/0.1498, allocations: 3.366 MB / 0.641 GB, free: 11.93 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003873/0.1502, allocations: 11.94 kB / 0.641 GB, free: 11.92 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001611/0.1519, allocations: 0.5134 MB / 0.6415 GB, free: 11.4 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001141/0.153, allocations: 392.9 kB / 0.6419 GB, free: 11.02 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007437/0.1538, allocations: 275.3 kB / 0.6421 GB, free: 10.75 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00104/0.1548, allocations: 0.6386 MB / 0.6427 GB, free: 10.11 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007369/0.1556, allocations: 0.5326 MB / 0.6433 GB, free: 9.574 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000488/0.1561, allocations: 287.1 kB / 0.6435 GB, free: 9.293 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005562/0.1567, allocations: 303 kB / 0.6438 GB, free: 8.996 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001191/0.1568, allocations: 44 kB / 0.6439 GB, free: 8.953 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006332/0.1574, allocations: 303.5 kB / 0.6442 GB, free: 8.656 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002086/0.1576, allocations: 171.6 kB / 0.6443 GB, free: 8.488 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000305/0.158, allocations: 246.9 kB / 0.6446 GB, free: 8.246 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001102/0.1591, allocations: 0.8258 MB / 0.6454 GB, free: 7.418 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1591, allocations: 0 / 0.6454 GB, free: 7.418 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1591, allocations: 0 / 0.6454 GB, free: 7.418 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.833e-05/0.1591, allocations: 0 / 0.6454 GB, free: 7.418 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.00165/0.1608, allocations: 0.8026 MB / 0.6461 GB, free: 6.562 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.1608, allocations: 8.031 kB / 0.6462 GB, free: 6.555 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003106/0.1639, allocations: 0.6828 MB / 0.6468 GB, free: 5.871 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008522/0.1648, allocations: 475.7 kB / 0.6473 GB, free: 5.371 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.464e-05/0.1648, allocations: 21.03 kB / 0.6473 GB, free: 5.352 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.165, allocations: 36.12 kB / 0.6473 GB, free: 5.316 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001726/0.1667, allocations: 0.8317 MB / 0.6481 GB, free: 4.453 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.1667, allocations: 4 kB / 0.6481 GB, free: 4.449 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.016e-05/0.1668, allocations: 19.92 kB / 0.6482 GB, free: 4.43 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001868/0.167, allocations: 60.58 kB / 0.6482 GB, free: 4.371 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002181/0.1692, allocations: 0.9311 MB / 0.6491 GB, free: 3.438 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004075/0.1733, allocations: 2.847 MB / 0.6519 GB, free: 388 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001725/0.175, allocations: 0.5526 MB / 0.6524 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007674/0.1758, allocations: 304.6 kB / 0.6527 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001152/0.1759, allocations: 93.03 kB / 0.6528 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.176, allocations: 34.56 kB / 0.6529 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=22): time 2.084e-06/0.176, allocations: 0 / 0.6529 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.01351/0.1895, allocations: 3.498 MB / 0.6563 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.1896, allocations: 55.41 kB / 0.6563 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000508/0.1901, allocations: 404.3 kB / 0.6567 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.403e-05/0.1902, allocations: 29.7 kB / 0.6567 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001659/0.1904, allocations: 235.9 kB / 0.657 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000125/0.1905, allocations: 110.4 kB / 0.6571 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001857/0.1907, allocations: 81.67 kB / 0.6572 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.1908, allocations: 346.8 kB / 0.6575 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001042/0.1919, allocations: 396.5 kB / 0.6579 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001056/0.1929, allocations: 464.2 kB / 0.6583 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002058/0.195, allocations: 0.8398 MB / 0.6591 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.195, allocations: 0 / 0.6591 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.005567/0.2006, allocations: 1.646 MB / 0.6607 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.634e-05/0.2007, allocations: 15.97 kB / 0.6607 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.2007, allocations: 0 / 0.6607 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003909/0.2046, allocations: 0.8801 MB / 0.6616 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007454/0.2054, allocations: 131.8 kB / 0.6617 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008639/0.214, allocations: 6.663 MB / 0.6682 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009275/0.215, allocations: 107.8 kB / 0.6683 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.601e-05/0.2151, allocations: 23.92 kB / 0.6684 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001295/0.2164, allocations: 0.5739 MB / 0.6689 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001042/0.2174, allocations: 448.2 kB / 0.6694 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002006/0.2195, allocations: 0.8194 MB / 0.6702 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.789e-06/0.2195, allocations: 3.938 kB / 0.6702 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.004987/0.2245, allocations: 1.637 MB / 0.6718 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.2245, allocations: 14.16 kB / 0.6718 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.974e-06/0.2245, allocations: 4 kB / 0.6718 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002721/0.2273, allocations: 0.6431 MB / 0.6724 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007086/0.228, allocations: 143.8 kB / 0.6725 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007193/0.2352, allocations: 7.276 MB / 0.6796 GB, free: 2.637 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009009/0.2361, allocations: 107.9 kB / 0.6797 GB, free: 2.531 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.029e-05/0.2362, allocations: 23.97 kB / 0.6798 GB, free: 2.508 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.0002355/0.2365, allocations: 203.5 kB / 0.68 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001326/0.2366, allocations: 39.47 kB / 0.68 GB, free: 2.266 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005067/0.2417, allocations: 1.548 MB / 0.6815 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.2417, allocations: 4 kB / 0.6815 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.2417, allocations: 0 / 0.6815 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.2417, allocations: 7.984 kB / 0.6815 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00573/0.2475, allocations: 2.193 MB / 0.6837 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-06/0.2475, allocations: 4 kB / 0.6837 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004105/0.2479, allocations: 75.91 kB / 0.6837 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003493/0.2514, allocations: 0.8139 MB / 0.6845 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.511e-05/0.2515, allocations: 4 kB / 0.6845 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007447/0.259, allocations: 6.527 MB / 0.6909 GB, free: 6.562 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.259, allocations: 0 / 0.6909 GB, free: 6.562 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004669/0.2637, allocations: 1.526 MB / 0.6924 GB, free: 5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002713/0.264, allocations: 176.6 kB / 0.6926 GB, free: 4.809 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.664e-05/0.2641, allocations: 8.188 kB / 0.6926 GB, free: 4.801 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006713/0.2647, allocations: 87.86 kB / 0.6927 GB, free: 4.715 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001955/0.2649, allocations: 35.89 kB / 0.6927 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.654e-05/0.265, allocations: 12 kB / 0.6927 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004236/0.2654, allocations: 307.1 kB / 0.693 GB, free: 4.363 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.723e-06/0.2654, allocations: 0 / 0.693 GB, free: 4.363 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009759/0.2664, allocations: 247.9 kB / 0.6932 GB, free: 4.121 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 19 * 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 Backend phase and start with SimCode phase: time 0.0001916/0.2666, allocations: 119.1 kB / 0.6934 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004713/0.2713, allocations: 2.222 MB / 0.6955 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.2714, allocations: 0 / 0.6955 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001456/0.2728, allocations: 0.8006 MB / 0.6963 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007356/0.2736, allocations: 129.3 kB / 0.6964 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002078/0.2757, allocations: 1.158 MB / 0.6976 GB, free: 15.52 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004834/0.2762, allocations: 0.9218 MB / 0.6985 GB, free: 14.57 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000173/0.2764, allocations: 39.42 kB / 0.6985 GB, free: 14.53 MB / 0.545 GB Notification: Performance of SimCode: time 4.71e-07/0.2764, allocations: 0 / 0.6985 GB, free: 14.53 MB / 0.545 GB Notification: Performance of Templates: time 0.01759/0.294, allocations: 15.4 MB / 0.7135 GB, free: 15.15 MB / 0.5606 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)