Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001646/0.001646, allocations: 193 kB / 16.13 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.31/1.31, allocations: 205.1 MB / 222 MB, free: 4.75 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.581/1.581, allocations: 292.3 MB / 0.5484 GB, free: 13.68 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.001322/0.001322, allocations: 67.06 kB / 0.6709 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2101, allocations: 114.5 MB / 0.7828 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.03706/0.2472, allocations: 37.46 MB / 0.8194 GB, free: 8.309 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01792/0.2652, allocations: 11.03 MB / 0.8302 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004272/0.2695, allocations: 139.3 kB / 0.8303 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.01031/0.2798, allocations: 4.073 MB / 0.8343 GB, free: 9.027 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00696/0.2868, allocations: 2.088 MB / 0.8363 GB, free: 6.93 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006014/0.2929, allocations: 1.969 MB / 0.8382 GB, free: 4.961 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01608/0.309, allocations: 13.17 MB / 0.8511 GB, free: 7.754 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0224/0.3314, allocations: 12.44 MB / 0.8632 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007126/0.3386, allocations: 3.41 MB / 0.8666 GB, free: 7.789 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007071/0.3457, allocations: 4.595 MB / 0.8711 GB, free: 3.18 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.002563/0.3483, allocations: 0.5625 MB / 0.8716 GB, free: 2.617 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0047/0.353, allocations: 1.549 MB / 0.8731 GB, free: 1.066 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.005013/0.358, allocations: 2.888 MB / 0.8759 GB, free: 14.17 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.007289/0.3653, allocations: 3.36 MB / 0.8792 GB, free: 10.8 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01322/0.3786, allocations: 12.08 MB / 0.891 GB, free: 14.68 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.325e-06/0.3786, allocations: 4 kB / 0.891 GB, free: 14.68 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3786, allocations: 0 / 0.891 GB, free: 14.68 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0003561/0.379, allocations: 4 kB / 0.891 GB, free: 14.67 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01529/0.3943, allocations: 6.307 MB / 0.8972 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.3944, allocations: 12.03 kB / 0.8972 GB, free: 8.281 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001966/0.3963, allocations: 0.8294 MB / 0.898 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005657/0.402, allocations: 1.067 MB / 0.8991 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006486/0.4085, allocations: 3.423 MB / 0.9024 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003012/0.4089, allocations: 423.8 kB / 0.9028 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001307/0.4102, allocations: 0.5433 MB / 0.9033 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01721/0.4274, allocations: 9.377 MB / 0.9125 GB, free: 8.219 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001503/0.4276, allocations: 19.78 kB / 0.9125 GB, free: 8.199 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001042/0.4286, allocations: 247.9 kB / 0.9127 GB, free: 7.957 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005481/0.4292, allocations: 422.9 kB / 0.9132 GB, free: 7.543 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01444/0.4436, allocations: 7.12 MB / 0.9201 GB, free: 424 kB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4047/0.8483, allocations: 41.32 MB / 0.9605 GB, free: 90.4 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004321/0.8527, allocations: 3.104 MB / 0.9635 GB, free: 89.02 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002849/0.8556, allocations: 2.146 MB / 0.9656 GB, free: 87.91 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001152/0.8557, allocations: 21.72 kB / 0.9656 GB, free: 87.91 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.58e-05/0.8558, allocations: 64.55 kB / 0.9657 GB, free: 87.85 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=209): time 3.216e-06/0.8558, allocations: 0 / 0.9657 GB, free: 87.85 MB / 0.7325 GB Notification: Performance of matching and sorting (n=212): time 0.02092/0.8767, allocations: 10.54 MB / 0.976 GB, free: 81.85 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.8768, allocations: 82.16 kB / 0.976 GB, free: 81.78 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002375/0.8791, allocations: 2.002 MB / 0.978 GB, free: 80.7 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002289/0.8794, allocations: 64.11 kB / 0.9781 GB, free: 80.64 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001028/0.8804, allocations: 2.401 MB / 0.9804 GB, free: 78.53 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005393/0.881, allocations: 0.7389 MB / 0.9811 GB, free: 77.89 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006238/0.8816, allocations: 480.2 kB / 0.9816 GB, free: 77.63 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.016e-05/0.8816, allocations: 306.1 kB / 0.9819 GB, free: 77.33 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00157/0.8832, allocations: 1.376 MB / 0.9832 GB, free: 76.61 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001874/0.8851, allocations: 2.104 MB / 0.9853 GB, free: 74.95 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00352/0.8886, allocations: 3.769 MB / 0.9889 GB, free: 72.38 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-05/0.8887, allocations: 11.91 kB / 0.989 GB, free: 72.38 MB / 0.7325 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.006885/0.8955, allocations: 5.068 MB / 0.9939 GB, free: 69.69 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.272e-05/0.8956, allocations: 14.88 kB / 0.9939 GB, free: 69.69 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.519e-05/0.8956, allocations: 21.81 kB / 0.9939 GB, free: 69.69 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003107/0.8988, allocations: 1.579 MB / 0.9955 GB, free: 69.03 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001371/0.9001, allocations: 455.6 kB / 0.9959 GB, free: 68.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01539/0.9155, allocations: 17.07 MB / 1.013 GB, free: 52.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002025/0.9176, allocations: 155.5 kB / 1.013 GB, free: 52.68 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001702/0.9178, allocations: 104 kB / 1.013 GB, free: 52.58 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * 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): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002356/0.9201, allocations: 1.937 MB / 1.015 GB, free: 50.63 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004534/0.9206, allocations: 292.6 kB / 1.015 GB, free: 50.34 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005515/0.9261, allocations: 4.451 MB / 1.019 GB, free: 45.86 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.9261, allocations: 24 kB / 1.019 GB, free: 45.83 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.306e-05/0.9262, allocations: 16 kB / 1.019 GB, free: 45.82 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.463e-05/0.9262, allocations: 11.95 kB / 1.019 GB, free: 45.8 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01171/0.9379, allocations: 9.671 MB / 1.029 GB, free: 36.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.817e-06/0.9379, allocations: 4.062 kB / 1.029 GB, free: 36.03 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008604/0.9388, allocations: 239.6 kB / 1.029 GB, free: 35.79 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002749/0.9416, allocations: 1.426 MB / 1.03 GB, free: 34.36 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001286/0.9417, allocations: 40 kB / 1.031 GB, free: 34.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01531/0.957, allocations: 17.05 MB / 1.047 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.9571, allocations: 7.938 kB / 1.047 GB, free: 16.74 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005625/0.9627, allocations: 4.545 MB / 1.052 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001067/0.9638, allocations: 0.6303 MB / 1.052 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000331/0.9641, allocations: 43.98 kB / 1.052 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001088/0.9652, allocations: 115.9 kB / 1.052 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004381/0.9657, allocations: 181.6 kB / 1.053 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001191/0.9658, allocations: 60 kB / 1.053 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001343/0.9671, allocations: 1.315 MB / 1.054 GB, free: 9.734 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9671, allocations: 0 / 1.054 GB, free: 9.734 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002744/0.9699, allocations: 1.145 MB / 1.055 GB, free: 8.59 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (107): * Single equations (assignments): 103 * 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): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00556/0.9755, allocations: 5.162 MB / 1.06 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006101/0.9816, allocations: 4.687 MB / 1.065 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/0.9816, allocations: 0 / 1.065 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.004445/0.9861, allocations: 2.918 MB / 1.067 GB, free: 11.63 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003751/0.9898, allocations: 0.8359 MB / 1.068 GB, free: 10.81 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05408/1.044, allocations: 35.94 MB / 1.103 GB, free: 4.348 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003867/1.048, allocations: 3.686 MB / 1.107 GB, free: 0.6289 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001985/1.05, allocations: 0.5556 MB / 1.108 GB, free: 68 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00217/1.052, allocations: 1.95 MB / 1.109 GB, free: 14.14 MB / 0.795 GB Notification: Performance of SimCode: time 8.02e-07/1.052, allocations: 0 / 1.109 GB, free: 14.14 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.115/1.167, allocations: 83.69 MB / 1.191 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001975/1.167, allocations: 248.6 kB / 1.191 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.344/4.511, allocations: 5.188 kB / 1.191 GB, free: 11.1 MB / 0.8731 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)