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.001275/0.001275, allocations: 115 kB / 17.08 MB, free: 6 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.001173/0.001173, allocations: 193.8 kB / 18.02 MB, free: 5.082 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.252/1.252, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6929/0.6929, allocations: 115.3 MB / 407.2 MB, free: 6.211 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 64.73 kB / 0.5583 GB, free: 32.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1299, allocations: 76.18 MB / 0.6327 GB, free: 4.406 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.006471/0.1364, allocations: 5.056 MB / 0.6377 GB, free: 15.32 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004751/0.1411, allocations: 3.377 MB / 0.641 GB, free: 11.93 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002924/0.1415, allocations: 11.94 kB / 0.641 GB, free: 11.92 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001448/0.143, allocations: 0.494 MB / 0.6415 GB, free: 11.43 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009481/0.1439, allocations: 404 kB / 0.6419 GB, free: 11.03 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006342/0.1446, allocations: 273.8 kB / 0.6421 GB, free: 10.77 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008181/0.1454, allocations: 0.6464 MB / 0.6427 GB, free: 10.12 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006299/0.1461, allocations: 0.5248 MB / 0.6433 GB, free: 9.59 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003447/0.1464, allocations: 295 kB / 0.6435 GB, free: 9.301 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004165/0.1468, allocations: 303 kB / 0.6438 GB, free: 9.004 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.143e-05/0.1469, allocations: 44 kB / 0.6439 GB, free: 8.961 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004938/0.1474, allocations: 307.5 kB / 0.6442 GB, free: 8.66 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001617/0.1476, allocations: 171.5 kB / 0.6443 GB, free: 8.492 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002352/0.1478, allocations: 238.9 kB / 0.6446 GB, free: 8.258 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008458/0.1487, allocations: 0.8297 MB / 0.6454 GB, free: 7.426 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1487, allocations: 3.984 kB / 0.6454 GB, free: 7.422 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1487, allocations: 0 / 0.6454 GB, free: 7.422 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.1487, allocations: 0 / 0.6454 GB, free: 7.422 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.001394/0.1501, allocations: 0.7988 MB / 0.6461 GB, free: 6.57 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.1502, allocations: 12.03 kB / 0.6462 GB, free: 6.559 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002944/0.1531, allocations: 0.6828 MB / 0.6468 GB, free: 5.875 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007124/0.1538, allocations: 471.7 kB / 0.6473 GB, free: 5.379 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.1539, allocations: 28.91 kB / 0.6473 GB, free: 5.352 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.073e-05/0.154, allocations: 40.11 kB / 0.6473 GB, free: 5.312 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001641/0.1556, allocations: 0.8356 MB / 0.6482 GB, free: 4.445 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.1556, allocations: 0 / 0.6482 GB, free: 4.445 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.812e-05/0.1557, allocations: 12 kB / 0.6482 GB, free: 4.434 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001769/0.1559, allocations: 64.52 kB / 0.6482 GB, free: 4.371 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002183/0.1581, allocations: 0.9272 MB / 0.6491 GB, free: 3.441 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003797/0.1619, allocations: 2.851 MB / 0.6519 GB, free: 388 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001732/0.1636, allocations: 0.5488 MB / 0.6525 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007676/0.1644, allocations: 308.6 kB / 0.6527 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001044/0.1645, allocations: 89.08 kB / 0.6528 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.1646, allocations: 38.56 kB / 0.6529 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=22): time 1.643e-06/0.1646, allocations: 0 / 0.6529 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.01284/0.1774, allocations: 3.496 MB / 0.6563 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/0.1775, allocations: 55.41 kB / 0.6563 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004594/0.178, allocations: 400.3 kB / 0.6567 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.414e-05/0.178, allocations: 33.7 kB / 0.6568 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.1782, allocations: 235.9 kB / 0.657 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.1783, allocations: 102.4 kB / 0.6571 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001726/0.1785, allocations: 81.67 kB / 0.6572 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.1786, allocations: 350.8 kB / 0.6575 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/0.1797, allocations: 392.5 kB / 0.6579 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00103/0.1807, allocations: 468.2 kB / 0.6583 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001994/0.1827, allocations: 0.8398 MB / 0.6591 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1827, allocations: 0 / 0.6591 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.005313/0.188, allocations: 1.65 MB / 0.6607 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.1881, allocations: 15.94 kB / 0.6608 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.1881, allocations: 0 / 0.6608 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003837/0.1919, allocations: 0.8763 MB / 0.6616 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006867/0.1926, allocations: 131.8 kB / 0.6617 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008283/0.2009, allocations: 6.669 MB / 0.6682 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008103/0.2018, allocations: 111.8 kB / 0.6684 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.959e-05/0.2019, allocations: 23.92 kB / 0.6684 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001221/0.2031, allocations: 0.5773 MB / 0.6689 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009903/0.2041, allocations: 444.2 kB / 0.6694 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001928/0.206, allocations: 0.8116 MB / 0.6702 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.474e-06/0.206, allocations: 4 kB / 0.6702 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.004788/0.2108, allocations: 1.641 MB / 0.6718 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.2109, allocations: 12.19 kB / 0.6718 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.2109, allocations: 7.938 kB / 0.6718 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00263/0.2135, allocations: 0.6391 MB / 0.6724 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006476/0.2142, allocations: 135.8 kB / 0.6725 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00698/0.2212, allocations: 7.284 MB / 0.6797 GB, free: 2.637 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008108/0.222, allocations: 107.9 kB / 0.6798 GB, free: 2.531 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.652e-05/0.2221, 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.0002013/0.2223, allocations: 196.2 kB / 0.68 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.2224, allocations: 39.47 kB / 0.68 GB, free: 2.27 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0048/0.2272, allocations: 1.54 MB / 0.6815 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.2272, allocations: 4 kB / 0.6815 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.2272, allocations: 0 / 0.6815 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.2272, allocations: 7.984 kB / 0.6815 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00551/0.2328, allocations: 2.201 MB / 0.6837 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.2328, allocations: 4 kB / 0.6837 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000395/0.2332, allocations: 79.89 kB / 0.6837 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003304/0.2365, allocations: 0.8139 MB / 0.6845 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.443e-05/0.2366, allocations: 8 kB / 0.6845 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007369/0.2439, allocations: 6.524 MB / 0.6909 GB, free: 6.562 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.244, allocations: 3.938 kB / 0.6909 GB, free: 6.559 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004506/0.2485, allocations: 1.518 MB / 0.6924 GB, free: 5.004 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002475/0.2487, allocations: 176.6 kB / 0.6926 GB, free: 4.812 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.476e-05/0.2489, allocations: 8 kB / 0.6926 GB, free: 4.805 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006382/0.2495, allocations: 83.86 kB / 0.6927 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/0.2496, allocations: 39.83 kB / 0.6927 GB, free: 4.684 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.509e-05/0.2497, allocations: 12 kB / 0.6927 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004159/0.2501, allocations: 307.1 kB / 0.693 GB, free: 4.367 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2501, allocations: 0 / 0.693 GB, free: 4.367 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009309/0.2511, allocations: 240 kB / 0.6932 GB, free: 4.133 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.0001809/0.2512, allocations: 119.1 kB / 0.6933 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004583/0.2558, allocations: 2.23 MB / 0.6955 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.2559, allocations: 0 / 0.6955 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001421/0.2573, allocations: 0.8006 MB / 0.6963 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006807/0.258, allocations: 133.3 kB / 0.6964 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00209/0.2601, allocations: 1.16 MB / 0.6976 GB, free: 15.52 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005141/0.2606, allocations: 0.9179 MB / 0.6985 GB, free: 14.57 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.2608, allocations: 43.41 kB / 0.6985 GB, free: 14.53 MB / 0.545 GB Notification: Performance of SimCode: time 5.81e-07/0.2608, allocations: 0 / 0.6985 GB, free: 14.53 MB / 0.545 GB Notification: Performance of Templates: time 0.01736/0.2782, 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)