Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008596/0.0008595, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008146/0.0008148, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.407/1.407, allocations: 205.4 MB / 222.1 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.65/1.65, allocations: 292.7 MB / 0.5499 GB, free: 14.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005396/0.0005399, allocations: 13.44 kB / 0.6737 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2422/0.2428, allocations: 116.3 MB / 0.7873 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01588/0.2588, allocations: 12.56 MB / 0.7996 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0124/0.2712, allocations: 8.833 MB / 0.8082 GB, free: 6.445 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001052/0.2723, allocations: 51.62 kB / 0.8082 GB, free: 6.395 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0007178/0.273, allocations: 269.8 kB / 0.8085 GB, free: 6.129 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003047/0.2761, allocations: 1.271 MB / 0.8097 GB, free: 4.859 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001295/0.2774, allocations: 0.5222 MB / 0.8102 GB, free: 4.336 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002816/0.2802, allocations: 2.672 MB / 0.8128 GB, free: 1.656 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002897/0.2831, allocations: 1.806 MB / 0.8146 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001402/0.2845, allocations: 0.8482 MB / 0.8154 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001458/0.286, allocations: 1.023 MB / 0.8164 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001541/0.2862, allocations: 72 kB / 0.8165 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001081/0.2873, allocations: 439.4 kB / 0.8169 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004883/0.2878, allocations: 0.4984 MB / 0.8174 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.000382/0.2882, allocations: 348.8 kB / 0.8177 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002035/0.2902, allocations: 2.123 MB / 0.8198 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.2902, allocations: 0 / 0.8198 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2902, allocations: 4 kB / 0.8198 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.43e-05/0.2903, allocations: 0 / 0.8198 GB, free: 10.45 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003367/0.2936, allocations: 1.827 MB / 0.8216 GB, free: 8.562 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.2937, allocations: 12.02 kB / 0.8216 GB, free: 8.551 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01037/0.3041, allocations: 2.151 MB / 0.8237 GB, free: 6.395 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002922/0.307, allocations: 1.15 MB / 0.8248 GB, free: 5.188 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001187/0.3072, allocations: 90.36 kB / 0.8249 GB, free: 5.098 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004122/0.3076, allocations: 116 kB / 0.825 GB, free: 4.984 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005465/0.3131, allocations: 2.698 MB / 0.8277 GB, free: 2.137 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.133e-05/0.3132, allocations: 11.89 kB / 0.8277 GB, free: 2.125 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001566/0.3133, allocations: 51.98 kB / 0.8277 GB, free: 2.074 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005358/0.3139, allocations: 178.1 kB / 0.8279 GB, free: 1.898 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006653/0.3205, allocations: 2.842 MB / 0.8307 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01352/0.3341, allocations: 10.57 MB / 0.841 GB, free: 3.887 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005957/0.3401, allocations: 2.572 MB / 0.8435 GB, free: 1.246 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002771/0.3429, allocations: 1.299 MB / 0.8448 GB, free: 15.94 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 7.486e-05/0.343, allocations: 9 kB / 0.8448 GB, free: 15.93 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.343, allocations: 47.5 kB / 0.8448 GB, free: 15.88 MB / 0.67 GB Notification: Performance of pre-optimization done (n=89): time 3.206e-06/0.343, allocations: 4 kB / 0.8448 GB, free: 15.88 MB / 0.67 GB Notification: Performance of matching and sorting (n=131): time 0.04001/0.383, allocations: 13.44 MB / 0.858 GB, free: 2.215 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/0.3831, allocations: 68.72 kB / 0.858 GB, free: 2.133 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001532/0.3847, allocations: 1.105 MB / 0.8591 GB, free: 1.012 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001802/0.3848, allocations: 45.7 kB / 0.8592 GB, free: 0.9609 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006384/0.3855, allocations: 0.7194 MB / 0.8599 GB, free: 240 kB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005468/0.3861, allocations: 457.5 kB / 0.8603 GB, free: 15.78 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/0.3862, allocations: 28 kB / 0.8603 GB, free: 15.75 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000178/0.3864, allocations: 365.7 kB / 0.8607 GB, free: 15.39 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002965/0.3893, allocations: 1.35 MB / 0.862 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003183/0.3925, allocations: 1.616 MB / 0.8636 GB, free: 12.33 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003102/0.3957, allocations: 1.45 MB / 0.865 GB, free: 10.88 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.091e-05/0.3957, allocations: 4 kB / 0.865 GB, free: 10.88 MB / 0.6856 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01018/0.4059, allocations: 4.47 MB / 0.8694 GB, free: 6.352 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/0.4059, allocations: 7.953 kB / 0.8694 GB, free: 6.344 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/0.4059, allocations: 8.844 kB / 0.8694 GB, free: 6.336 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004647/0.4106, allocations: 1.427 MB / 0.8708 GB, free: 4.867 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001787/0.4124, allocations: 455.2 kB / 0.8712 GB, free: 4.422 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02513/0.4375, allocations: 24.52 MB / 0.8951 GB, free: 10.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00227/0.4399, allocations: 315.6 kB / 0.8954 GB, free: 9.848 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002798/0.4402, allocations: 60.08 kB / 0.8955 GB, free: 9.789 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 9,(3,100.0%) 9,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009224/0.4411, allocations: 444.4 kB / 0.8959 GB, free: 9.348 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004371/0.4415, allocations: 162 kB / 0.8961 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01087/0.4524, allocations: 4.481 MB / 0.9005 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/0.4525, allocations: 12 kB / 0.9005 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-05/0.4525, allocations: 12 kB / 0.9005 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.632e-05/0.4525, allocations: 7.969 kB / 0.9005 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01427/0.4668, allocations: 6.806 MB / 0.9071 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.119e-05/0.4669, allocations: 4 kB / 0.9071 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001601/0.4685, allocations: 383.7 kB / 0.9075 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004296/0.4728, allocations: 1.307 MB / 0.9088 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001469/0.473, allocations: 43.95 kB / 0.9088 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4469/0.9199, allocations: 23.49 MB / 0.9318 GB, free: 115 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/0.9199, allocations: 3.594 kB / 0.9318 GB, free: 115 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009774/0.9297, allocations: 4.232 MB / 0.9359 GB, free: 114.6 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009158/0.9306, allocations: 454.9 kB / 0.9363 GB, free: 114.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002271/0.9309, allocations: 31.78 kB / 0.9364 GB, free: 114.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00178/0.9327, allocations: 317.3 kB / 0.9367 GB, free: 114.5 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004867/0.9332, allocations: 126.3 kB / 0.9368 GB, free: 114.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00012/0.9333, allocations: 51.88 kB / 0.9368 GB, free: 114.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001005/0.9343, allocations: 0.7375 MB / 0.9376 GB, free: 114.4 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.8e-07/0.9343, allocations: 0 / 0.9376 GB, free: 114.4 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001981/0.9363, allocations: 0.5746 MB / 0.9381 GB, free: 114.4 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 7,(2,100.0%) 4,(3,100.0%) 9,(2,100.0%) 4,(3,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002882/0.9366, allocations: 136.1 kB / 0.9382 GB, free: 114.3 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.009946/0.9465, allocations: 5.146 MB / 0.9433 GB, free: 112 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/0.9466, allocations: 0.6562 kB / 0.9433 GB, free: 112 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.007128/0.9537, allocations: 3.508 MB / 0.9467 GB, free: 110 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003914/0.9577, allocations: 0.5125 MB / 0.9472 GB, free: 109.9 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01031/0.968, allocations: 4.526 MB / 0.9516 GB, free: 107.8 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001486/0.9696, allocations: 1.475 MB / 0.9531 GB, free: 107.1 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002233/0.9718, allocations: 434.1 kB / 0.9535 GB, free: 106.9 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005506/0.9724, allocations: 109 kB / 0.9536 GB, free: 106.9 MB / 0.7325 GB Notification: Performance of SimCode: time 1.643e-06/0.9724, allocations: 3.719 kB / 0.9536 GB, free: 106.9 MB / 0.7325 GB Notification: Performance of Templates: time 0.0554/1.028, allocations: 36.13 MB / 0.9889 GB, free: 84.39 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) Environment - environmentSimulation: