Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.2/2.2, allocations: 391.2 MB / 407 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 197 kB / 499.1 MB, free: 4.664 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 222.9 MB / 0.7948 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009753/0.0009755, allocations: 99.77 kB / 0.9329 GB, free: 7.031 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00109/0.00109, allocations: 48.86 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.285, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.01116/0.2962, allocations: 11.78 MB / 1.23 GB, free: 105.3 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.007485/0.3037, allocations: 5.341 MB / 1.235 GB, free: 99.98 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001547/0.3053, allocations: 35.81 kB / 1.235 GB, free: 99.95 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.002702/0.3081, allocations: 0.9841 MB / 1.236 GB, free: 98.96 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.001917/0.31, allocations: 0.5835 MB / 1.236 GB, free: 98.38 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002307/0.3123, allocations: 0.8498 MB / 1.237 GB, free: 97.52 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.002852/0.3152, allocations: 3.601 MB / 1.241 GB, free: 93.91 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003731/0.319, allocations: 3.797 MB / 1.244 GB, free: 90.08 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001294/0.3203, allocations: 0.9268 MB / 1.245 GB, free: 89.15 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001126/0.3214, allocations: 1.219 MB / 1.247 GB, free: 87.93 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002041/0.3216, allocations: 148 kB / 1.247 GB, free: 87.79 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008188/0.3224, allocations: 0.4915 MB / 1.247 GB, free: 87.29 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0005389/0.323, allocations: 0.8107 MB / 1.248 GB, free: 86.48 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007204/0.3237, allocations: 0.8907 MB / 1.249 GB, free: 85.59 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.002153/0.3259, allocations: 3.479 MB / 1.252 GB, free: 82.1 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.3259, allocations: 4 kB / 1.252 GB, free: 82.09 MB / 0.823 GB Notification: Performance of FrontEnd: time 9.92e-07/0.3259, allocations: 3.938 kB / 1.252 GB, free: 82.09 MB / 0.823 GB Notification: Performance of Transformations before backend: time 3.137e-05/0.3259, allocations: 0 / 1.252 GB, free: 82.09 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.003092/0.329, allocations: 1.933 MB / 1.254 GB, free: 80.1 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.3291, allocations: 11.98 kB / 1.254 GB, free: 80.09 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001874/0.331, allocations: 454.5 kB / 1.255 GB, free: 79.64 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00189/0.3329, allocations: 1.089 MB / 1.256 GB, free: 78.51 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.337e-05/0.333, allocations: 119.4 kB / 1.256 GB, free: 78.39 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00021/0.3332, allocations: 160.1 kB / 1.256 GB, free: 78.24 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003251/0.3364, allocations: 2.731 MB / 1.259 GB, free: 75.44 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.753e-05/0.3365, allocations: 7.891 kB / 1.259 GB, free: 75.43 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001459/0.3366, allocations: 67.98 kB / 1.259 GB, free: 75.37 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002404/0.3369, allocations: 146.9 kB / 1.259 GB, free: 75.22 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002692/0.3396, allocations: 2.268 MB / 1.261 GB, free: 72.95 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009043/0.3486, allocations: 10.44 MB / 1.271 GB, free: 61.62 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007622/0.3495, allocations: 0.571 MB / 1.272 GB, free: 61.04 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004539/0.3499, allocations: 372.6 kB / 1.272 GB, free: 60.68 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.369e-05/0.35, allocations: 93.09 kB / 1.272 GB, free: 60.57 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.3501, allocations: 38.5 kB / 1.272 GB, free: 60.52 MB / 0.823 GB Notification: Performance of pre-optimization done (n=36): time 2.685e-06/0.3501, allocations: 0 / 1.272 GB, free: 60.52 MB / 0.823 GB Notification: Performance of matching and sorting (n=52): time 0.01679/0.3669, allocations: 5.55 MB / 1.278 GB, free: 54.91 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.3669, allocations: 59.84 kB / 1.278 GB, free: 54.84 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/0.368, allocations: 0.8789 MB / 1.279 GB, free: 53.95 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001162/0.3681, allocations: 37.7 kB / 1.279 GB, free: 53.91 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000302/0.3684, allocations: 0.7538 MB / 1.279 GB, free: 53.14 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/0.3686, allocations: 193.4 kB / 1.28 GB, free: 52.95 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002811/0.3689, allocations: 190.5 kB / 1.28 GB, free: 52.76 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.46e-05/0.369, allocations: 386.8 kB / 1.28 GB, free: 52.37 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007708/0.3698, allocations: 0.6293 MB / 1.281 GB, free: 51.74 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008853/0.3706, allocations: 0.9825 MB / 1.282 GB, free: 50.59 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001627/0.3723, allocations: 1.623 MB / 1.283 GB, free: 48.8 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.3723, allocations: 4 kB / 1.283 GB, free: 48.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.007553/0.3799, allocations: 3.073 MB / 1.286 GB, free: 45.71 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.3799, allocations: 16.06 kB / 1.286 GB, free: 45.69 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/0.3799, allocations: 15.98 kB / 1.286 GB, free: 45.68 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00644/0.3864, allocations: 1.642 MB / 1.288 GB, free: 44.02 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006835/0.3871, allocations: 215.6 kB / 1.288 GB, free: 43.81 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01048/0.3976, allocations: 9.833 MB / 1.298 GB, free: 33.45 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/0.3988, allocations: 159.7 kB / 1.298 GB, free: 33.29 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.351e-05/0.3989, allocations: 44 kB / 1.298 GB, free: 33.25 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001634/0.4005, allocations: 1.282 MB / 1.299 GB, free: 31.96 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008575/0.4014, allocations: 0.9591 MB / 1.3 GB, free: 30.84 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001527/0.4029, allocations: 1.568 MB / 1.302 GB, free: 29.11 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.819e-06/0.4029, allocations: 4 kB / 1.302 GB, free: 29.11 MB / 0.823 GB Notification: Performance of matching and sorting (n=111) (initialization_lambda0): time 0.0059/0.4088, allocations: 2.595 MB / 1.304 GB, free: 26.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.4089, allocations: 15.98 kB / 1.304 GB, free: 26.48 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.4089, allocations: 12 kB / 1.304 GB, free: 26.47 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004164/0.4131, allocations: 1.067 MB / 1.305 GB, free: 25.39 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007267/0.4138, allocations: 235.6 kB / 1.305 GB, free: 25.16 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005656/0.4195, allocations: 5.34 MB / 1.311 GB, free: 19.55 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/0.4205, allocations: 143.7 kB / 1.311 GB, free: 19.41 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.666e-05/0.4206, allocations: 48.06 kB / 1.311 GB, free: 19.36 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002362/0.4208, allocations: 244.5 kB / 1.311 GB, free: 19.12 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.421, allocations: 79.06 kB / 1.311 GB, free: 19.04 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006682/0.4276, allocations: 2.54 MB / 1.314 GB, free: 16.47 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.4277, allocations: 4 kB / 1.314 GB, free: 16.47 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.4277, allocations: 4 kB / 1.314 GB, free: 16.46 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.4277, allocations: 3.984 kB / 1.314 GB, free: 16.46 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008607/0.4363, allocations: 4.445 MB / 1.318 GB, free: 11.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.4363, allocations: 4 kB / 1.318 GB, free: 11.89 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000325/0.4367, allocations: 91.86 kB / 1.318 GB, free: 11.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005476/0.4421, allocations: 1.498 MB / 1.319 GB, free: 10.29 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.882e-05/0.4422, allocations: 12 kB / 1.32 GB, free: 10.28 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009351/0.4516, allocations: 9.387 MB / 1.329 GB, free: 364 kB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.4516, allocations: 4.031 kB / 1.329 GB, free: 360 kB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009591/0.4612, allocations: 3.889 MB / 1.332 GB, free: 12.36 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005948/0.4619, allocations: 260.1 kB / 1.333 GB, free: 12.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.462, allocations: 19.94 kB / 1.333 GB, free: 12.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000784/0.4628, allocations: 111.8 kB / 1.333 GB, free: 11.96 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002763/0.4631, allocations: 51.81 kB / 1.333 GB, free: 11.91 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.874e-05/0.4631, allocations: 16 kB / 1.333 GB, free: 11.89 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0008591/0.464, allocations: 0.6317 MB / 1.334 GB, free: 11.27 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.21e-07/0.464, allocations: 0 / 1.334 GB, free: 11.27 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002257/0.4663, allocations: 0.5859 MB / 1.334 GB, free: 10.68 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000227/0.4665, allocations: 115.2 kB / 1.334 GB, free: 10.56 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.005042/0.4716, allocations: 3.059 MB / 1.337 GB, free: 7.426 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.4716, allocations: 4 kB / 1.337 GB, free: 7.422 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001834/0.4734, allocations: 1.179 MB / 1.338 GB, free: 6.191 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/0.4746, allocations: 227.2 kB / 1.339 GB, free: 5.977 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006158/0.4808, allocations: 4.038 MB / 1.343 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00151/0.4824, allocations: 1.643 MB / 1.344 GB, free: 200 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.001369/0.4837, allocations: 498.2 kB / 1.345 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/0.4839, allocations: 55.44 kB / 1.345 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of SimCode: time 6.22e-07/0.4839, allocations: 4 kB / 1.345 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of Templates: time 0.03479/0.5187, allocations: 23.86 MB / 1.368 GB, free: 7.902 MB / 0.8698 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)