Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.629/1.629, allocations: 287.4 MB / 302.6 MB, free: 8.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001456/0.001456, allocations: 176 kB / 371.1 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.667/1.667, allocations: 205.4 MB / 0.6298 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001102/0.001102, allocations: 90.56 kB / 0.7431 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003843/0.0003844, allocations: 12.56 kB / 0.8662 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.2194, allocations: 115.3 MB / 0.9787 GB, free: 28.12 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.009584/0.2291, allocations: 10.79 MB / 0.9893 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.007123/0.2362, allocations: 5.213 MB / 0.9944 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001234/0.2375, allocations: 31.88 kB / 0.9944 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0009176/0.2384, allocations: 298 kB / 0.9947 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001594/0.2401, allocations: 0.5325 MB / 0.9952 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001783/0.2419, allocations: 498.8 kB / 0.9957 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002622/0.2445, allocations: 2.938 MB / 0.9986 GB, free: 7.77 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004473/0.249, allocations: 4.305 MB / 1.003 GB, free: 3.398 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001228/0.2503, allocations: 0.7707 MB / 1.004 GB, free: 2.625 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001151/0.2514, allocations: 1.086 MB / 1.005 GB, free: 1.535 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.000167/0.2516, allocations: 100 kB / 1.005 GB, free: 1.438 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009438/0.2525, allocations: 327.6 kB / 1.005 GB, free: 1.117 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0005399/0.2531, allocations: 0.7404 MB / 1.006 GB, free: 384 kB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003105/0.2534, allocations: 368.9 kB / 1.006 GB, free: 8 kB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.003105/0.2565, allocations: 3.257 MB / 1.009 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.2566, allocations: 0 / 1.009 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2566, allocations: 0 / 1.009 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.364e-05/0.2566, allocations: 0 / 1.009 GB, free: 12.74 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.004152/0.2608, allocations: 1.753 MB / 1.011 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.2609, allocations: 15.97 kB / 1.011 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004042/0.2613, allocations: 260.9 kB / 1.011 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002996/0.2643, allocations: 0.7479 MB / 1.012 GB, free: 9.902 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002236/0.2665, allocations: 1.247 MB / 1.013 GB, free: 8.613 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.019e-05/0.2666, allocations: 123.6 kB / 1.013 GB, free: 8.492 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003072/0.267, allocations: 163.9 kB / 1.013 GB, free: 8.332 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004899/0.2719, allocations: 2.94 MB / 1.016 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.356e-05/0.2719, allocations: 3.906 kB / 1.016 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001944/0.2721, allocations: 68 kB / 1.016 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000406/0.2725, allocations: 207 kB / 1.017 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003873/0.2764, allocations: 2.503 MB / 1.019 GB, free: 2.547 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01285/0.2893, allocations: 10.9 MB / 1.03 GB, free: 6.754 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001295/0.2906, allocations: 0.9158 MB / 1.031 GB, free: 5.793 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007446/0.2914, allocations: 0.5088 MB / 1.031 GB, free: 5.281 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001324/0.2915, allocations: 93.45 kB / 1.031 GB, free: 5.172 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.2916, allocations: 42.94 kB / 1.031 GB, free: 5.121 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=46): time 2.445e-06/0.2916, allocations: 3.938 kB / 1.031 GB, free: 5.117 MB / 0.6511 GB Notification: Performance of matching and sorting (n=70): time 0.02752/0.3191, allocations: 8.967 MB / 1.04 GB, free: 12.07 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/0.3192, allocations: 85.67 kB / 1.04 GB, free: 11.97 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001438/0.3206, allocations: 0.9376 MB / 1.041 GB, free: 11.03 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.000125/0.3208, allocations: 41.7 kB / 1.041 GB, free: 10.98 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005551/0.3213, allocations: 0.7736 MB / 1.042 GB, free: 10.19 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002258/0.3216, allocations: 256.5 kB / 1.042 GB, free: 9.938 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.61e-05/0.3217, allocations: 20 kB / 1.042 GB, free: 9.918 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001912/0.3219, allocations: 390.8 kB / 1.042 GB, free: 9.527 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001227/0.3231, allocations: 0.8066 MB / 1.043 GB, free: 8.719 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001475/0.3246, allocations: 1.156 MB / 1.044 GB, free: 7.406 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00264/0.3272, allocations: 1.997 MB / 1.046 GB, free: 5.258 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/0.3272, allocations: 4 kB / 1.046 GB, free: 5.254 MB / 0.6667 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.009612/0.3369, allocations: 3.787 MB / 1.05 GB, free: 1.449 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004394/0.3373, allocations: 423.5 kB / 1.05 GB, free: 0.8867 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.485e-05/0.3374, allocations: 16 kB / 1.05 GB, free: 0.8711 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008769/0.3462, allocations: 2.157 MB / 1.052 GB, free: 14.71 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000988/0.3472, allocations: 223.6 kB / 1.053 GB, free: 14.49 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01637/0.3636, allocations: 10.24 MB / 1.063 GB, free: 3.996 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001526/0.3651, allocations: 199.6 kB / 1.063 GB, free: 3.801 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001/0.3653, allocations: 47.98 kB / 1.063 GB, free: 3.754 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.357e-06/0.3653, allocations: 4 kB / 1.063 GB, free: 3.75 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007639/0.3729, allocations: 3.076 MB / 1.066 GB, free: 0.668 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.251e-05/0.373, allocations: 12 kB / 1.066 GB, free: 0.6562 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4494/0.8224, allocations: 1.355 MB / 1.067 GB, free: 82.56 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002127/0.8246, allocations: 292.2 kB / 1.068 GB, free: 82.56 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0194/0.844, allocations: 6.163 MB / 1.074 GB, free: 80.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002116/0.8462, allocations: 166.7 kB / 1.074 GB, free: 80.51 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000182/0.8464, allocations: 51.42 kB / 1.074 GB, free: 80.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (97): * Single equations (assignments): 95 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.002492/0.8489, allocations: 0.8941 MB / 1.075 GB, free: 80.07 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003281/0.8493, allocations: 89.62 kB / 1.075 GB, free: 80.07 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01615/0.8654, allocations: 3.322 MB / 1.078 GB, free: 79.22 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.884e-05/0.8655, allocations: 8.672 kB / 1.078 GB, free: 79.22 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.116e-05/0.8655, allocations: 3.438 kB / 1.078 GB, free: 79.22 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.914e-05/0.8656, allocations: 4.625 kB / 1.078 GB, free: 79.22 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0214/0.887, allocations: 5.49 MB / 1.083 GB, free: 77.31 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.309e-05/0.887, allocations: 2.781 kB / 1.083 GB, free: 77.31 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000705/0.8877, allocations: 107 kB / 1.083 GB, free: 77.31 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01246/0.9002, allocations: 1.977 MB / 1.085 GB, free: 77.07 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002214/0.9005, allocations: 18 kB / 1.085 GB, free: 77.06 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02123/0.9217, allocations: 9.655 MB / 1.095 GB, free: 71.86 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/0.9218, allocations: 1.219 kB / 1.095 GB, free: 71.86 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0111/0.9329, allocations: 3.208 MB / 1.098 GB, free: 70.95 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007005/0.9336, allocations: 334.1 kB / 1.098 GB, free: 70.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001445/0.9338, allocations: 13.72 kB / 1.098 GB, free: 70.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008461/0.9347, allocations: 151.6 kB / 1.098 GB, free: 70.73 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002861/0.9349, allocations: 67.81 kB / 1.098 GB, free: 70.72 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.92e-05/0.935, allocations: 18.88 kB / 1.099 GB, free: 70.72 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009027/0.9359, allocations: 0.6691 MB / 1.099 GB, free: 70.45 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9359, allocations: 0 / 1.099 GB, free: 70.45 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002302/0.9382, allocations: 0.6792 MB / 1.1 GB, free: 70.39 MB / 0.6823 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): 40 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.00852/0.9468, allocations: 3.799 MB / 1.104 GB, free: 68.43 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.007385/0.9542, allocations: 3.915 MB / 1.107 GB, free: 66.22 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.327e-06/0.9542, allocations: 4.703 kB / 1.107 GB, free: 66.22 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002128/0.9564, allocations: 1.308 MB / 1.109 GB, free: 65.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001386/0.9578, allocations: 249.7 kB / 1.109 GB, free: 65.29 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02053/0.9783, allocations: 11.42 MB / 1.12 GB, free: 58.43 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001278/0.9796, allocations: 1.721 MB / 1.122 GB, free: 57.22 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001391/0.981, allocations: 0.5122 MB / 1.122 GB, free: 57.01 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005261/0.9816, allocations: 0.5016 MB / 1.123 GB, free: 56.55 MB / 0.6823 GB Notification: Performance of SimCode: time 9.52e-07/0.9816, allocations: 0 / 1.123 GB, free: 56.55 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6294/1.611, allocations: 41.56 MB / 1.163 GB, free: 16.43 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001892/1.611, allocations: 238.5 kB / 1.164 GB, free: 16.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.893/4.504, allocations: 0 / 1.164 GB, free: 16.2 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)