Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.389/1.389, allocations: 252 MB / 267 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001059/0.001059, allocations: 178.9 kB / 326.6 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.895/1.895, allocations: 205.4 MB / 0.5777 GB, free: 20.55 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007851/0.0007851, allocations: 79.78 kB / 0.6822 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003324/0.0003326, allocations: 9.312 kB / 0.7965 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2501, allocations: 106.3 MB / 0.9003 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.02404/0.2742, allocations: 30.19 MB / 0.9298 GB, free: 34.05 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02068/0.295, allocations: 14.01 MB / 0.9435 GB, free: 20.01 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004651/0.2997, allocations: 131.2 kB / 0.9436 GB, free: 19.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003077/0.3028, allocations: 0.7092 MB / 0.9443 GB, free: 19.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.008688/0.3115, allocations: 2.399 MB / 0.9466 GB, free: 16.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.005393/0.317, allocations: 1.379 MB / 0.948 GB, free: 15.38 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.01162/0.3286, allocations: 9.73 MB / 0.9575 GB, free: 5.617 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01709/0.3458, allocations: 9.848 MB / 0.9671 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007697/0.3535, allocations: 2.934 MB / 0.97 GB, free: 8.746 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008084/0.3617, allocations: 3.387 MB / 0.9733 GB, free: 5.344 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.001663/0.3634, allocations: 296 kB / 0.9736 GB, free: 5.055 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004188/0.3676, allocations: 0.8038 MB / 0.9744 GB, free: 4.25 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.003392/0.371, allocations: 2.268 MB / 0.9766 GB, free: 1.977 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.002856/0.3739, allocations: 1.12 MB / 0.9777 GB, free: 0.8477 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.01278/0.3867, allocations: 9.163 MB / 0.9866 GB, free: 7.66 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.047e-05/0.3867, allocations: 0 / 0.9866 GB, free: 7.66 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.725e-06/0.3868, allocations: 0 / 0.9866 GB, free: 7.66 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0003868/0.3871, allocations: 0 / 0.9866 GB, free: 7.66 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01321/0.4004, allocations: 4.895 MB / 0.9914 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.884e-05/0.4004, allocations: 8.031 kB / 0.9914 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002803/0.4032, allocations: 0.7269 MB / 0.9921 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008158/0.4114, allocations: 1.145 MB / 0.9932 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008646/0.4201, allocations: 3.236 MB / 0.9964 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004336/0.4206, allocations: 374 kB / 0.9967 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002263/0.4229, allocations: 0.492 MB / 0.9972 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0187/0.4416, allocations: 7.962 MB / 1.005 GB, free: 4.379 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001754/0.4418, allocations: 19.83 kB / 1.005 GB, free: 4.359 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006444/0.4425, allocations: 216 kB / 1.005 GB, free: 4.148 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00108/0.4436, allocations: 437.6 kB / 1.006 GB, free: 3.719 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01331/0.4569, allocations: 6.057 MB / 1.012 GB, free: 13.64 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0528/0.5098, allocations: 35.19 MB / 1.046 GB, free: 7.277 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002982/0.5128, allocations: 2.022 MB / 1.048 GB, free: 5.246 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00258/0.5154, allocations: 1.857 MB / 1.05 GB, free: 3.391 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001043/0.5155, allocations: 18 kB / 1.05 GB, free: 3.371 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.031e-05/0.5156, allocations: 56.5 kB / 1.05 GB, free: 3.309 MB / 0.698 GB Notification: Performance of pre-optimization done (n=171): time 5.42e-06/0.5156, allocations: 0 / 1.05 GB, free: 3.309 MB / 0.698 GB Notification: Performance of matching and sorting (n=276): time 0.709/1.225, allocations: 38.97 MB / 1.088 GB, free: 128.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.522e-05/1.225, allocations: 85.52 kB / 1.088 GB, free: 128.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003645/1.228, allocations: 2.263 MB / 1.09 GB, free: 126.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005513/1.229, allocations: 68.2 kB / 1.09 GB, free: 126.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001511/1.231, allocations: 2.274 MB / 1.092 GB, free: 124.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009533/1.232, allocations: 0.9351 MB / 1.093 GB, free: 124.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001947/1.232, allocations: 59.56 kB / 1.093 GB, free: 124.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001881/1.232, allocations: 424.3 kB / 1.094 GB, free: 123.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002477/1.234, allocations: 1.965 MB / 1.096 GB, free: 122 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002589/1.237, allocations: 2.588 MB / 1.098 GB, free: 119.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002718/1.24, allocations: 2.376 MB / 1.101 GB, free: 116.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.18e-05/1.24, allocations: 7.938 kB / 1.101 GB, free: 116.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.013/1.253, allocations: 7.718 MB / 1.108 GB, free: 109 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.867e-05/1.253, allocations: 12 kB / 1.108 GB, free: 109 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.433e-05/1.253, allocations: 16 kB / 1.108 GB, free: 109 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008786/1.262, allocations: 3.21 MB / 1.111 GB, free: 105.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001824/1.264, allocations: 405.1 kB / 1.112 GB, free: 105.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03592/1.3, allocations: 31.09 MB / 1.142 GB, free: 73.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003439/1.303, allocations: 163.8 kB / 1.142 GB, free: 73.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004081/1.303, allocations: 108.9 kB / 1.142 GB, free: 73.23 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(10,71.0%) 28,(10,65.0%) 28,(6,77.8%) 24,(6,77.8%) 24,(5,92.0%) 17,(5,92.0%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003554/1.307, allocations: 1.797 MB / 1.144 GB, free: 71.42 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008563/1.308, allocations: 328.2 kB / 1.144 GB, free: 71.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01294/1.321, allocations: 7.343 MB / 1.152 GB, free: 63.68 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-05/1.321, allocations: 24 kB / 1.152 GB, free: 63.65 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.12e-05/1.321, allocations: 32 kB / 1.152 GB, free: 63.62 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.923e-05/1.321, allocations: 13.36 kB / 1.152 GB, free: 63.61 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02147/1.342, allocations: 12.89 MB / 1.164 GB, free: 50.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-05/1.343, allocations: 11.62 kB / 1.164 GB, free: 50.58 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009221/1.343, allocations: 229.3 kB / 1.164 GB, free: 50.36 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007689/1.351, allocations: 2.849 MB / 1.167 GB, free: 47.49 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003677/1.352, allocations: 52 kB / 1.167 GB, free: 47.44 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03332/1.385, allocations: 29.92 MB / 1.196 GB, free: 16.73 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.223e-06/1.385, allocations: 11.94 kB / 1.196 GB, free: 16.72 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01132/1.396, allocations: 6.852 MB / 1.203 GB, free: 9.652 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002166/1.399, allocations: 0.7837 MB / 1.204 GB, free: 8.848 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005261/1.399, allocations: 56 kB / 1.204 GB, free: 8.793 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001627/1.401, allocations: 171.3 kB / 1.204 GB, free: 8.629 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007847/1.402, allocations: 258.6 kB / 1.204 GB, free: 8.379 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001735/1.402, allocations: 76 kB / 1.204 GB, free: 8.305 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001873/1.404, allocations: 1.498 MB / 1.206 GB, free: 6.805 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.31e-07/1.404, allocations: 0 / 1.206 GB, free: 6.805 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004317/1.408, allocations: 1.352 MB / 1.207 GB, free: 5.453 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(5,84.0%) 17,(6,77.8%) 24,(10,65.0%) 28,(5,92.0%) 17,(6,77.8%) 24,(10,65.0%) 28} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01141/1.419, allocations: 7.491 MB / 1.215 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.01251/1.432, allocations: 6.904 MB / 1.221 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-05/1.432, allocations: 4 kB / 1.221 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.008112/1.44, allocations: 4.418 MB / 1.226 GB, free: 2.25 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006584/1.447, allocations: 1.034 MB / 1.227 GB, free: 1.246 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06519/1.512, allocations: 32.3 MB / 1.258 GB, free: 15.4 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006981/1.519, allocations: 3.643 MB / 1.262 GB, free: 11.73 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.00281/1.522, allocations: 0.5634 MB / 1.262 GB, free: 11.16 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003167/1.525, allocations: 1.968 MB / 1.264 GB, free: 9.191 MB / 0.7605 GB Notification: Performance of SimCode: time 1.362e-06/1.525, allocations: 0 / 1.264 GB, free: 9.191 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1839/1.709, allocations: 107.3 MB / 1.369 GB, free: 14.78 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002244/1.709, allocations: 244 kB / 1.369 GB, free: 14.54 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.129/6.839, allocations: 0 / 1.369 GB, free: 14.54 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)