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.001388/0.001388, allocations: 102.3 kB / 16.27 MB, free: 5.992 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.001546/0.001546, allocations: 181.1 kB / 17.19 MB, free: 5.609 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.572/1.572, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7298/0.7298, allocations: 122.9 MB / 413.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002305/0.002306, allocations: 63.89 kB / 0.4911 GB, free: 7.434 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4819/0.4842, allocations: 77.92 MB / 0.5672 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.006034/0.4903, allocations: 5.062 MB / 0.5721 GB, free: 29.27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004689/0.495, allocations: 3.354 MB / 0.5754 GB, free: 26.99 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002992/0.4954, allocations: 11.66 kB / 0.5754 GB, free: 26.99 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001355/0.4967, allocations: 0.5093 MB / 0.5759 GB, free: 26.7 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008455/0.4976, allocations: 388.2 kB / 0.5763 GB, free: 26.48 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006322/0.4982, allocations: 269.6 kB / 0.5766 GB, free: 26.35 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008999/0.4991, allocations: 0.6518 MB / 0.5772 GB, free: 26.05 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000779/0.4999, allocations: 0.5324 MB / 0.5777 GB, free: 25.89 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004202/0.5003, allocations: 286.1 kB / 0.578 GB, free: 25.78 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004574/0.5008, allocations: 296.8 kB / 0.5783 GB, free: 25.66 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.318e-05/0.5009, allocations: 45.75 kB / 0.5783 GB, free: 25.66 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006065/0.5015, allocations: 298.2 kB / 0.5786 GB, free: 25.57 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001913/0.5017, allocations: 173.8 kB / 0.5788 GB, free: 25.5 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000253/0.502, allocations: 241.1 kB / 0.579 GB, free: 25.35 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001024/0.503, allocations: 0.8337 MB / 0.5798 GB, free: 25.08 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.503, allocations: 0 / 0.5798 GB, free: 25.08 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.503, allocations: 1.344 kB / 0.5798 GB, free: 25.08 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.503, allocations: 0 / 0.5798 GB, free: 25.08 MB / 446.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.00126/0.5043, allocations: 0.7986 MB / 0.5806 GB, free: 24.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.5043, allocations: 9.75 kB / 0.5806 GB, free: 24.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002695/0.507, allocations: 0.6817 MB / 0.5813 GB, free: 24.15 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006246/0.5077, allocations: 462.1 kB / 0.5817 GB, free: 23.78 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.5077, allocations: 26.33 kB / 0.5817 GB, free: 23.76 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.518e-05/0.5078, allocations: 32.28 kB / 0.5818 GB, free: 23.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001389/0.5092, allocations: 0.8297 MB / 0.5826 GB, free: 23.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.5092, allocations: 5.781 kB / 0.5826 GB, free: 23.24 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.123e-05/0.5093, allocations: 12.09 kB / 0.5826 GB, free: 23.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001535/0.5094, allocations: 61.98 kB / 0.5827 GB, free: 23.21 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001808/0.5112, allocations: 0.9295 MB / 0.5836 GB, free: 22.75 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003073/0.5143, allocations: 2.864 MB / 0.5864 GB, free: 20.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001551/0.5159, allocations: 0.552 MB / 0.5869 GB, free: 20.04 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007148/0.5166, allocations: 309.1 kB / 0.5872 GB, free: 19.88 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.185e-05/0.5167, allocations: 88.75 kB / 0.5873 GB, free: 19.78 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.5168, allocations: 40.88 kB / 0.5873 GB, free: 19.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 1.814e-06/0.5168, allocations: 0.9062 kB / 0.5873 GB, free: 19.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=32): time 0.01223/0.529, allocations: 3.495 MB / 0.5907 GB, free: 17.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.046e-05/0.5291, allocations: 55.09 kB / 0.5908 GB, free: 17.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004377/0.5295, allocations: 402.2 kB / 0.5912 GB, free: 17.54 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.331e-05/0.5296, allocations: 32.27 kB / 0.5912 GB, free: 17.51 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.5297, allocations: 231.4 kB / 0.5914 GB, free: 17.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.563e-05/0.5298, allocations: 112.6 kB / 0.5915 GB, free: 17.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/0.5299, allocations: 79.86 kB / 0.5916 GB, free: 17.15 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.929e-05/0.53, allocations: 349.1 kB / 0.5919 GB, free: 16.81 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009082/0.5309, allocations: 403.6 kB / 0.5923 GB, free: 16.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008831/0.5318, allocations: 469.9 kB / 0.5928 GB, free: 16.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001679/0.5335, allocations: 0.8347 MB / 0.5936 GB, free: 15.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.5335, allocations: 3.938 kB / 0.5936 GB, free: 15.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.004688/0.5382, allocations: 1.657 MB / 0.5952 GB, free: 13.64 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.5382, allocations: 10.12 kB / 0.5952 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.5382, allocations: 4 kB / 0.5952 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003428/0.5417, allocations: 0.8725 MB / 0.5961 GB, free: 12.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006168/0.5423, allocations: 135.8 kB / 0.5962 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006307/0.5486, allocations: 6.664 MB / 0.6027 GB, free: 5.527 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008084/0.5494, allocations: 111.9 kB / 0.6028 GB, free: 5.418 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-05/0.5495, allocations: 27.91 kB / 0.6028 GB, free: 5.391 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001074/0.5506, allocations: 0.5661 MB / 0.6034 GB, free: 4.82 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008376/0.5514, allocations: 456.1 kB / 0.6038 GB, free: 4.344 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001649/0.5531, allocations: 0.8155 MB / 0.6046 GB, free: 3.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.533e-06/0.5531, allocations: 3.938 kB / 0.6046 GB, free: 3.496 MB / 446.1 MB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.004196/0.5573, allocations: 1.638 MB / 0.6062 GB, free: 1.801 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.5573, allocations: 4 kB / 0.6062 GB, free: 1.797 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.5573, allocations: 4 kB / 0.6062 GB, free: 1.793 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002371/0.5597, allocations: 0.647 MB / 0.6069 GB, free: 1.133 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005963/0.5603, allocations: 131.8 kB / 0.607 GB, free: 1.004 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006611/0.5669, allocations: 7.297 MB / 0.6141 GB, free: 9.141 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008103/0.5678, allocations: 103.8 kB / 0.6142 GB, free: 9.039 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.294e-05/0.5678, allocations: 19.98 kB / 0.6142 GB, free: 9.02 MB / 462.1 MB 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.0001935/0.568, allocations: 197.1 kB / 0.6144 GB, free: 8.82 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.671e-05/0.5681, allocations: 39.56 kB / 0.6145 GB, free: 8.781 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004751/0.5729, allocations: 1.548 MB / 0.616 GB, free: 7.215 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.5729, allocations: 4 kB / 0.616 GB, free: 7.211 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.5729, allocations: 0 / 0.616 GB, free: 7.211 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.5729, allocations: 7.984 kB / 0.616 GB, free: 7.203 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005508/0.5784, allocations: 2.197 MB / 0.6181 GB, free: 4.934 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.5784, allocations: 0 / 0.6181 GB, free: 4.934 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003912/0.5788, allocations: 83.83 kB / 0.6182 GB, free: 4.852 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003264/0.5821, allocations: 0.8139 MB / 0.619 GB, free: 4.027 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.931e-05/0.5822, allocations: 8 kB / 0.619 GB, free: 4.02 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007225/0.5894, allocations: 6.523 MB / 0.6254 GB, free: 13.07 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.5894, allocations: 4.031 kB / 0.6254 GB, free: 13.07 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004503/0.5939, allocations: 1.522 MB / 0.6269 GB, free: 11.51 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002918/0.5942, allocations: 180.6 kB / 0.627 GB, free: 11.31 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.193e-05/0.5943, allocations: 7.938 kB / 0.6271 GB, free: 11.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006215/0.595, allocations: 87.8 kB / 0.6271 GB, free: 11.22 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001488/0.5951, allocations: 31.89 kB / 0.6272 GB, free: 11.19 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.213e-05/0.5952, allocations: 12 kB / 0.6272 GB, free: 11.18 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004035/0.5956, allocations: 311.1 kB / 0.6275 GB, free: 10.87 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5956, allocations: 0 / 0.6275 GB, free: 10.87 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0009451/0.5965, allocations: 240 kB / 0.6277 GB, free: 10.63 MB / 478.1 MB 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.0001596/0.5967, allocations: 115.2 kB / 0.6278 GB, free: 10.51 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004435/0.6011, allocations: 2.256 MB / 0.63 GB, free: 8.164 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.6012, allocations: 0 / 0.63 GB, free: 8.164 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001416/0.6026, allocations: 0.8083 MB / 0.6308 GB, free: 7.316 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006567/0.6032, allocations: 127.4 kB / 0.6309 GB, free: 7.203 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001908/0.6052, allocations: 1.142 MB / 0.632 GB, free: 6.027 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004826/0.6057, allocations: 0.9258 MB / 0.6329 GB, free: 5.07 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005733/0.6062, allocations: 175.1 kB / 0.6331 GB, free: 4.895 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001277/0.6064, allocations: 39.42 kB / 0.6331 GB, free: 4.855 MB / 478.1 MB Notification: Performance of SimCode: time 3.61e-07/0.6064, allocations: 3.938 kB / 0.6332 GB, free: 4.852 MB / 478.1 MB Notification: Performance of Templates: time 0.02061/0.627, allocations: 14.66 MB / 0.6475 GB, free: 6.324 MB / 494.1 MB 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)