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.001108/0.001108, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 196.6 kB / 16.64 MB, free: 6.453 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.398/1.398, allocations: 205.1 MB / 222.5 MB, free: 4.57 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.667/1.667, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.00153/0.00153, allocations: 70.53 kB / 0.6718 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.221/0.2225, allocations: 114.5 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.03901/0.2616, allocations: 37.8 MB / 0.8206 GB, free: 7.332 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01735/0.279, allocations: 11.09 MB / 0.8314 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003647/0.2827, allocations: 151.3 kB / 0.8315 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.01038/0.2931, allocations: 4.343 MB / 0.8358 GB, free: 7.699 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006941/0.3001, allocations: 2.223 MB / 0.838 GB, free: 5.465 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006253/0.3064, allocations: 2.17 MB / 0.8401 GB, free: 3.297 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0131/0.3195, allocations: 9.276 MB / 0.8491 GB, free: 9.992 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01646/0.336, allocations: 11.27 MB / 0.8601 GB, free: 14.61 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007253/0.3433, allocations: 3.996 MB / 0.864 GB, free: 10.6 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007837/0.3512, allocations: 4.506 MB / 0.8684 GB, free: 6.078 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.002395/0.3536, allocations: 0.8281 MB / 0.8693 GB, free: 5.25 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004593/0.3582, allocations: 1.588 MB / 0.8708 GB, free: 3.66 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.004903/0.3632, allocations: 3.15 MB / 0.8739 GB, free: 0.5039 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00723/0.3704, allocations: 3.653 MB / 0.8774 GB, free: 12.84 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01262/0.3831, allocations: 12.31 MB / 0.8895 GB, free: 500 kB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.3831, allocations: 0 / 0.8895 GB, free: 500 kB / 0.7012 GB Notification: Performance of FrontEnd: time 2.225e-06/0.3831, allocations: 0 / 0.8895 GB, free: 500 kB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.000391/0.3835, allocations: 0 / 0.8895 GB, free: 500 kB / 0.7012 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.01624/0.3998, allocations: 6.322 MB / 0.8956 GB, free: 10.09 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/0.3998, allocations: 12.03 kB / 0.8957 GB, free: 10.08 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002266/0.4021, allocations: 0.8333 MB / 0.8965 GB, free: 9.238 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006003/0.4081, allocations: 1.059 MB / 0.8975 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008001/0.4162, allocations: 3.614 MB / 0.901 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003343/0.4165, allocations: 423.7 kB / 0.9014 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001449/0.418, allocations: 0.5471 MB / 0.902 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4132/0.8312, allocations: 9.377 MB / 0.9111 GB, free: 106.3 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000184/0.8314, allocations: 16.22 kB / 0.9111 GB, free: 106.3 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001124/0.8326, allocations: 246 kB / 0.9114 GB, free: 106.1 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000637/0.8332, allocations: 422 kB / 0.9118 GB, free: 106 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01351/0.8467, allocations: 7.122 MB / 0.9187 GB, free: 103.6 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03864/0.8854, allocations: 41.01 MB / 0.9588 GB, free: 68.3 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004181/0.8896, allocations: 3.111 MB / 0.9618 GB, free: 66.72 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002564/0.8922, allocations: 2.135 MB / 0.9639 GB, free: 65.62 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001159/0.8924, allocations: 22.62 kB / 0.9639 GB, free: 65.62 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.146e-05/0.8924, allocations: 66.62 kB / 0.964 GB, free: 65.56 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=209): time 3.937e-06/0.8924, allocations: 0 / 0.964 GB, free: 65.56 MB / 0.7169 GB Notification: Performance of matching and sorting (n=212): time 0.02046/0.9129, allocations: 10.55 MB / 0.9743 GB, free: 59.55 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.263e-05/0.9129, allocations: 77.12 kB / 0.9744 GB, free: 59.49 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001927/0.9149, allocations: 2.008 MB / 0.9763 GB, free: 58.4 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001561/0.9151, allocations: 61.33 kB / 0.9764 GB, free: 58.34 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008191/0.9159, allocations: 2.405 MB / 0.9787 GB, free: 56.23 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003745/0.9163, allocations: 0.7289 MB / 0.9795 GB, free: 55.61 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005709/0.9168, allocations: 484.3 kB / 0.9799 GB, free: 55.34 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.566e-05/0.9169, allocations: 301.1 kB / 0.9802 GB, free: 55.04 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001543/0.9184, allocations: 1.37 MB / 0.9815 GB, free: 54.32 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001749/0.9202, allocations: 2.107 MB / 0.9836 GB, free: 52.55 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003581/0.9238, allocations: 3.762 MB / 0.9873 GB, free: 48.48 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.326e-05/0.9238, allocations: 8 kB / 0.9873 GB, free: 48.48 MB / 0.7169 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.006279/0.9301, allocations: 5.076 MB / 0.9922 GB, free: 43.38 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/0.9301, allocations: 16 kB / 0.9922 GB, free: 43.36 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.069e-05/0.9302, allocations: 28 kB / 0.9923 GB, free: 43.33 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002803/0.933, allocations: 1.585 MB / 0.9938 GB, free: 41.74 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00143/0.9344, allocations: 459.2 kB / 0.9943 GB, free: 41.29 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01651/0.9509, allocations: 18.56 MB / 1.012 GB, free: 22.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002343/0.9533, allocations: 151.8 kB / 1.013 GB, free: 22.03 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002136/0.9535, allocations: 104 kB / 1.013 GB, free: 21.93 MB / 0.7169 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.002438/0.956, allocations: 1.945 MB / 1.015 GB, free: 19.97 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004411/0.9564, allocations: 288.6 kB / 1.015 GB, free: 19.68 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005625/0.9621, allocations: 4.447 MB / 1.019 GB, free: 15.2 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/0.9621, allocations: 20 kB / 1.019 GB, free: 15.18 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.295e-05/0.9621, allocations: 23.92 kB / 1.019 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.691e-05/0.9622, allocations: 11.97 kB / 1.019 GB, free: 15.15 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01259/0.9748, allocations: 9.659 MB / 1.029 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/0.9748, allocations: 4 kB / 1.029 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009086/0.9757, allocations: 235.7 kB / 1.029 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002769/0.9785, allocations: 1.435 MB / 1.03 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001421/0.9787, allocations: 40 kB / 1.03 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02141/1, allocations: 18.56 MB / 1.048 GB, free: 0.5586 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.527e-05/1, allocations: 15.88 kB / 1.048 GB, free: 0.543 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007597/1.008, allocations: 4.543 MB / 1.053 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001478/1.009, allocations: 0.6304 MB / 1.053 GB, free: 11.26 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004773/1.01, allocations: 47.92 kB / 1.054 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001382/1.011, allocations: 115.9 kB / 1.054 GB, free: 11.1 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005272/1.012, allocations: 181.6 kB / 1.054 GB, free: 10.92 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001626/1.012, allocations: 60 kB / 1.054 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002003/1.014, allocations: 1.311 MB / 1.055 GB, free: 9.543 MB / 0.7481 GB Notification: Performance of sort global known variables: time 5.51e-07/1.014, allocations: 0 / 1.055 GB, free: 9.543 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003538/1.017, allocations: 1.141 MB / 1.056 GB, free: 8.402 MB / 0.7481 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.007566/1.025, allocations: 5.162 MB / 1.061 GB, free: 3.148 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.007912/1.033, allocations: 4.703 MB / 1.066 GB, free: 14.39 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.159e-05/1.033, allocations: 7.938 kB / 1.066 GB, free: 14.38 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.004753/1.038, allocations: 2.922 MB / 1.069 GB, free: 11.42 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004407/1.042, allocations: 0.8869 MB / 1.07 GB, free: 10.55 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04961/1.092, allocations: 30.38 MB / 1.099 GB, free: 10.98 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004958/1.097, allocations: 3.694 MB / 1.103 GB, free: 7.254 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001946/1.099, allocations: 0.5518 MB / 1.103 GB, free: 6.695 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002521/1.101, allocations: 1.948 MB / 1.105 GB, free: 4.746 MB / 0.795 GB Notification: Performance of SimCode: time 1.052e-06/1.101, allocations: 0 / 1.105 GB, free: 4.746 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1414/1.243, allocations: 83.64 MB / 1.187 GB, free: 2.117 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.28/15.53, allocations: 7.188 kB / 1.187 GB, free: 2.113 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)