Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.328/2.328, allocations: 391.2 MB / 407 MB, free: 10.83 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.001137/0.001136, allocations: 195 kB / 499.1 MB, free: 4.609 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.533/1.533, allocations: 222.9 MB / 0.7948 GB, free: 15.81 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.0011/0.0011, allocations: 110.6 kB / 0.9329 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001811/0.001811, allocations: 51.39 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.3267, 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.ACLine_N): time 0.02711/0.3539, allocations: 32.91 MB / 1.25 GB, free: 84.2 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01985/0.3738, allocations: 14.87 MB / 1.265 GB, free: 69.29 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005778/0.3796, allocations: 143.2 kB / 1.265 GB, free: 69.15 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.009437/0.3892, allocations: 3.389 MB / 1.268 GB, free: 65.76 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0116/0.4008, allocations: 2.696 MB / 1.271 GB, free: 63.05 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.006929/0.4078, allocations: 2.12 MB / 1.273 GB, free: 60.93 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.01423/0.422, allocations: 12.26 MB / 1.285 GB, free: 48.64 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0168/0.4389, allocations: 10.35 MB / 1.295 GB, free: 38.17 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007539/0.4465, allocations: 3.465 MB / 1.298 GB, free: 34.7 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007233/0.4538, allocations: 4.1 MB / 1.302 GB, free: 30.58 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.003123/0.4569, allocations: 484 kB / 1.303 GB, free: 30.11 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006946/0.4639, allocations: 1.743 MB / 1.305 GB, free: 28.36 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.005592/0.4695, allocations: 2.588 MB / 1.307 GB, free: 25.77 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.008913/0.4785, allocations: 3.115 MB / 1.31 GB, free: 22.64 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.01627/0.4948, allocations: 11 MB / 1.321 GB, free: 11.61 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.4948, allocations: 0 / 1.321 GB, free: 11.61 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.695e-06/0.4949, allocations: 0 / 1.321 GB, free: 11.61 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0005076/0.4954, allocations: 3.938 kB / 1.321 GB, free: 11.6 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.02061/0.516, allocations: 5.98 MB / 1.327 GB, free: 5.543 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.533e-05/0.5161, allocations: 11.98 kB / 1.327 GB, free: 5.531 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008103/0.5242, allocations: 1.138 MB / 1.328 GB, free: 4.387 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009366/0.5336, allocations: 3.325 MB / 1.331 GB, free: 0.9844 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003674/0.534, allocations: 374.4 kB / 1.331 GB, free: 0.6172 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002346/0.5364, allocations: 496 kB / 1.332 GB, free: 136 kB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02428/0.5607, allocations: 8.005 MB / 1.34 GB, free: 7.852 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003718/0.5611, allocations: 35.66 kB / 1.34 GB, free: 7.816 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002339/0.5635, allocations: 216 kB / 1.34 GB, free: 7.605 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001352/0.5649, allocations: 433.6 kB / 1.34 GB, free: 7.18 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01701/0.5819, allocations: 6.089 MB / 1.346 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05903/0.641, allocations: 35.16 MB / 1.381 GB, free: 10.75 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002897/0.6439, allocations: 2.026 MB / 1.383 GB, free: 8.707 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00244/0.6464, allocations: 1.861 MB / 1.384 GB, free: 6.848 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001143/0.6465, allocations: 18 kB / 1.384 GB, free: 6.832 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.16e-05/0.6466, allocations: 60.48 kB / 1.385 GB, free: 6.762 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=171): time 3.898e-06/0.6466, allocations: 0 / 1.385 GB, free: 6.762 MB / 0.8855 GB Notification: Performance of matching and sorting (n=276): time 0.7326/1.379, allocations: 38.85 MB / 1.422 GB, free: 183.1 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/1.379, allocations: 85.34 kB / 1.423 GB, free: 183 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003389/1.383, allocations: 2.285 MB / 1.425 GB, free: 182.8 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004618/1.383, allocations: 71.67 kB / 1.425 GB, free: 182.8 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001281/1.384, allocations: 2.273 MB / 1.427 GB, free: 181.8 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008164/1.385, allocations: 0.9393 MB / 1.428 GB, free: 181.1 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009619/1.386, allocations: 0.5015 MB / 1.428 GB, free: 180.9 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 5.108e-05/1.386, allocations: 303.3 kB / 1.429 GB, free: 180.6 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002872/1.389, allocations: 1.972 MB / 1.431 GB, free: 179.8 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003299/1.393, allocations: 2.6 MB / 1.433 GB, free: 178.3 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006724/1.399, allocations: 4.933 MB / 1.438 GB, free: 175.7 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.581e-05/1.399, allocations: 6.719 kB / 1.438 GB, free: 175.7 MB / 0.9167 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01623/1.416, allocations: 7.757 MB / 1.446 GB, free: 172.6 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 4.408e-05/1.416, allocations: 17.12 kB / 1.446 GB, free: 172.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.231e-05/1.416, allocations: 20.44 kB / 1.446 GB, free: 172.6 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008811/1.424, allocations: 3.216 MB / 1.449 GB, free: 171.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00164/1.426, allocations: 402 kB / 1.449 GB, free: 171.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03743/1.464, allocations: 31.1 MB / 1.48 GB, free: 152.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003343/1.467, allocations: 163.6 kB / 1.48 GB, free: 152.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004518/1.467, allocations: 104.3 kB / 1.48 GB, free: 152.5 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00382/1.471, allocations: 1.803 MB / 1.482 GB, free: 151.4 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008847/1.472, allocations: 327.7 kB / 1.482 GB, free: 151.3 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01305/1.485, allocations: 7.355 MB / 1.489 GB, free: 143.9 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.573e-05/1.485, allocations: 28 kB / 1.489 GB, free: 143.8 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.401e-05/1.485, allocations: 40.42 kB / 1.489 GB, free: 143.8 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.293e-05/1.485, allocations: 11.95 kB / 1.489 GB, free: 143.8 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02016/1.506, allocations: 12.91 MB / 1.502 GB, free: 130.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.802e-05/1.506, allocations: 12 kB / 1.502 GB, free: 130.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009167/1.507, allocations: 239.7 kB / 1.502 GB, free: 130.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007185/1.514, allocations: 2.851 MB / 1.505 GB, free: 127.6 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003333/1.514, allocations: 52 kB / 1.505 GB, free: 127.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03106/1.545, allocations: 29.89 MB / 1.534 GB, free: 96.89 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/1.545, allocations: 11.94 kB / 1.534 GB, free: 96.88 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01438/1.56, allocations: 10.75 MB / 1.545 GB, free: 85.87 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001776/1.562, allocations: 0.7782 MB / 1.545 GB, free: 85.07 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004307/1.562, allocations: 51.98 kB / 1.545 GB, free: 85.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001789/1.564, allocations: 171.8 kB / 1.545 GB, free: 84.85 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008916/1.565, allocations: 257 kB / 1.546 GB, free: 84.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001662/1.565, allocations: 80 kB / 1.546 GB, free: 84.52 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.00188/1.567, allocations: 1.525 MB / 1.547 GB, free: 82.99 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5.91e-07/1.567, allocations: 0 / 1.547 GB, free: 82.99 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.005307/1.572, allocations: 1.367 MB / 1.549 GB, free: 81.62 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003797/1.572, allocations: 182 kB / 1.549 GB, free: 81.44 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.009843/1.582, allocations: 6.902 MB / 1.556 GB, free: 74.46 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-05/1.582, allocations: 0 / 1.556 GB, free: 74.46 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.006958/1.589, allocations: 4.412 MB / 1.56 GB, free: 69.98 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005356/1.595, allocations: 1.029 MB / 1.561 GB, free: 68.99 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02251/1.617, allocations: 14.13 MB / 1.575 GB, free: 54.77 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004831/1.622, allocations: 3.768 MB / 1.578 GB, free: 50.97 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.002482/1.625, allocations: 0.5595 MB / 1.579 GB, free: 50.41 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003615/1.625, allocations: 155.4 kB / 1.579 GB, free: 50.25 MB / 0.9167 GB Notification: Performance of SimCode: time 1.343e-06/1.625, allocations: 0 / 1.579 GB, free: 50.25 MB / 0.9167 GB Notification: Performance of Templates: time 0.1205/1.746, allocations: 77.74 MB / 1.655 GB, free: 5.438 MB / 0.948 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)