Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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_L_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_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.001016/0.001016, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001236/0.001236, allocations: 172.7 kB / 15.95 MB, free: 208 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.461/1.461, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.726/1.726, allocations: 292.7 MB / 0.5499 GB, free: 14.53 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.0006699/0.0006701, allocations: 16.97 kB / 0.6738 GB, free: 26.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.309, allocations: 116.3 MB / 0.7874 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03711/0.3462, allocations: 31.66 MB / 0.8183 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02156/0.3678, allocations: 11.03 MB / 0.8291 GB, free: 0.9961 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004462/0.3723, allocations: 139.2 kB / 0.8292 GB, free: 0.8594 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002397/0.3748, allocations: 0.6821 MB / 0.8299 GB, free: 176 kB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005984/0.3808, allocations: 1.586 MB / 0.8314 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006268/0.3871, allocations: 1.43 MB / 0.8328 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01407/0.4011, allocations: 9.63 MB / 0.8422 GB, free: 3.496 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02405/0.4253, allocations: 12.57 MB / 0.8545 GB, free: 6.852 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007936/0.4333, allocations: 2.646 MB / 0.8571 GB, free: 4.195 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0085/0.4418, allocations: 3.473 MB / 0.8605 GB, free: 0.7109 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.002003/0.4439, allocations: 328 kB / 0.8608 GB, free: 400 kB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005358/0.4493, allocations: 0.9676 MB / 0.8618 GB, free: 15.42 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.004865/0.4542, allocations: 2.455 MB / 0.8642 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003207/0.4574, allocations: 1.104 MB / 0.8652 GB, free: 11.85 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01448/0.4719, allocations: 9.931 MB / 0.8749 GB, free: 1.891 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 1.392e-05/0.472, allocations: 4 kB / 0.8749 GB, free: 1.887 MB / 0.6856 GB Notification: Performance of FrontEnd: time 4.669e-06/0.472, allocations: 0 / 0.8749 GB, free: 1.887 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0005754/0.4726, allocations: 0 / 0.8749 GB, free: 1.887 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01727/0.4899, allocations: 4.707 MB / 0.8795 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.643e-05/0.49, allocations: 8.031 kB / 0.8795 GB, free: 13.1 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004479/0.4944, allocations: 0.8049 MB / 0.8803 GB, free: 12.28 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008498/0.503, allocations: 1.07 MB / 0.8814 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01078/0.5138, allocations: 3.2 MB / 0.8845 GB, free: 7.949 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006324/0.5145, allocations: 411.1 kB / 0.8849 GB, free: 7.547 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002873/0.5174, allocations: 0.5427 MB / 0.8854 GB, free: 7.004 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02895/0.5464, allocations: 9.032 MB / 0.8942 GB, free: 13.65 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000401/0.5468, allocations: 27.77 kB / 0.8943 GB, free: 13.62 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002081/0.5489, allocations: 240 kB / 0.8945 GB, free: 13.39 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005029/0.5495, allocations: 358.7 kB / 0.8948 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01892/0.5684, allocations: 6.775 MB / 0.9014 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6717/1.24, allocations: 40.17 MB / 0.9407 GB, free: 75.67 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004584/1.245, allocations: 3.112 MB / 0.9437 GB, free: 73.89 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003732/1.249, allocations: 1.944 MB / 0.9456 GB, free: 73.14 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001216/1.249, allocations: 20.94 kB / 0.9456 GB, free: 73.14 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.856e-05/1.249, allocations: 54.69 kB / 0.9457 GB, free: 73.09 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=179): time 5.661e-06/1.249, allocations: 2.406 kB / 0.9457 GB, free: 73.09 MB / 0.7169 GB Notification: Performance of matching and sorting (n=182): time 0.02926/1.278, allocations: 9.872 MB / 0.9553 GB, free: 69.01 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.642e-05/1.278, allocations: 71.34 kB / 0.9554 GB, free: 68.95 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002719/1.281, allocations: 1.516 MB / 0.9569 GB, free: 68.07 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001685/1.281, allocations: 55.92 kB / 0.9569 GB, free: 68.02 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001494/1.283, allocations: 2.253 MB / 0.9591 GB, free: 66.05 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.000783/1.283, allocations: 0.6381 MB / 0.9597 GB, free: 65.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001161/1.284, allocations: 44.72 kB / 0.9598 GB, free: 65.46 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001687/1.284, allocations: 392.5 kB / 0.9602 GB, free: 65.1 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001856/1.286, allocations: 1.173 MB / 0.9613 GB, free: 64.48 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002028/1.288, allocations: 1.871 MB / 0.9631 GB, free: 62.93 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002079/1.29, allocations: 1.504 MB / 0.9646 GB, free: 62.12 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.678e-05/1.29, allocations: 6.438 kB / 0.9646 GB, free: 62.12 MB / 0.7169 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007507/1.297, allocations: 4.556 MB / 0.9691 GB, free: 59.68 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.124e-05/1.297, allocations: 15.69 kB / 0.9691 GB, free: 59.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.958e-05/1.297, allocations: 20.56 kB / 0.9691 GB, free: 59.68 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003219/1.301, allocations: 1.589 MB / 0.9707 GB, free: 59.02 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/1.302, allocations: 362.5 kB / 0.971 GB, free: 58.92 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01821/1.32, allocations: 17.05 MB / 0.9876 GB, free: 46.54 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002139/1.322, allocations: 120.7 kB / 0.9878 GB, free: 46.48 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001688/1.322, allocations: 99.66 kB / 0.9879 GB, free: 46.45 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 (177): * Single equations (assignments): 173 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(12,31.2%) 26,(6,66.7%) 24,(6,66.7%) 16,(6,66.7%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003695/1.326, allocations: 1.896 MB / 0.9897 GB, free: 45.29 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005212/1.327, allocations: 225 kB / 0.9899 GB, free: 45.18 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005852/1.332, allocations: 4.07 MB / 0.9939 GB, free: 41.24 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.454e-05/1.333, allocations: 20 kB / 0.9939 GB, free: 41.22 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.949e-05/1.333, allocations: 16 kB / 0.9939 GB, free: 41.21 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.807e-05/1.333, allocations: 7.969 kB / 0.9939 GB, free: 41.2 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01346/1.346, allocations: 9.441 MB / 1.003 GB, free: 31.55 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/1.346, allocations: 4 kB / 1.003 GB, free: 31.55 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007015/1.347, allocations: 179.7 kB / 1.003 GB, free: 31.38 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002868/1.35, allocations: 1.357 MB / 1.005 GB, free: 30.01 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001227/1.35, allocations: 32 kB / 1.005 GB, free: 29.98 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01605/1.366, allocations: 15.95 MB / 1.02 GB, free: 13.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/1.366, allocations: 8 kB / 1.02 GB, free: 13.5 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006198/1.372, allocations: 4.054 MB / 1.024 GB, free: 9.348 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001587/1.374, allocations: 0.5296 MB / 1.025 GB, free: 8.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002744/1.374, allocations: 36.12 kB / 1.025 GB, free: 8.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008587/1.375, allocations: 91.89 kB / 1.025 GB, free: 8.672 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006339/1.376, allocations: 161.7 kB / 1.025 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/1.376, allocations: 48 kB / 1.025 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00136/1.377, allocations: 0.9858 MB / 1.026 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/1.377, allocations: 4 kB / 1.026 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003774/1.381, allocations: 0.9883 MB / 1.027 GB, free: 6.469 MB / 0.7169 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 (85): * Single equations (assignments): 81 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,66.7%) 16,(6,66.7%) 16,(6,66.7%) 24,(6,66.7%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005632/1.387, allocations: 4.648 MB / 1.032 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.007132/1.394, allocations: 4.278 MB / 1.036 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.015e-05/1.394, allocations: 0 / 1.036 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.004839/1.399, allocations: 2.679 MB / 1.038 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003649/1.402, allocations: 0.6992 MB / 1.039 GB, free: 9.988 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04461/1.447, allocations: 22.87 MB / 1.061 GB, free: 1.816 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004507/1.451, allocations: 3.573 MB / 1.065 GB, free: 14.21 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001666/1.453, allocations: 463.9 kB / 1.065 GB, free: 13.75 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002044/1.455, allocations: 1.792 MB / 1.067 GB, free: 11.96 MB / 0.7637 GB Notification: Performance of SimCode: time 1.583e-06/1.455, allocations: 7.938 kB / 1.067 GB, free: 11.95 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.119/1.574, allocations: 70.52 MB / 1.136 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001713/1.574, allocations: 229.8 kB / 1.136 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.592/5.166, allocations: 4 kB / 1.136 GB, free: 5.887 MB / 0.8262 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) Environment - environmentSimulation: