Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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_N,fileNamePrefix="Buildings_8_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_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.001332/0.001332, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.176/2.176, allocations: 205.4 MB / 222.1 MB, free: 5.648 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 2.056/2.056, allocations: 292.6 MB / 0.5497 GB, free: 14.61 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.0005893/0.0005895, allocations: 16.55 kB / 0.6737 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2926, allocations: 116.3 MB / 0.7872 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04168/0.3343, allocations: 28.81 MB / 0.8154 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03056/0.3649, allocations: 13.81 MB / 0.8289 GB, free: 1.121 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005577/0.3706, allocations: 131.2 kB / 0.829 GB, free: 0.9922 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003598/0.3742, allocations: 0.7064 MB / 0.8297 GB, free: 288 kB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01006/0.3843, allocations: 2.27 MB / 0.8319 GB, free: 14 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005915/0.3903, allocations: 1.403 MB / 0.8333 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0111/0.4014, allocations: 4.583 MB / 0.8377 GB, free: 8.012 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01828/0.4197, allocations: 9.846 MB / 0.8474 GB, free: 14.09 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006907/0.4267, allocations: 2.632 MB / 0.8499 GB, free: 11.45 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005979/0.4327, allocations: 2.417 MB / 0.8523 GB, free: 9.02 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.002001/0.4348, allocations: 296 kB / 0.8526 GB, free: 8.73 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004061/0.4389, allocations: 0.6945 MB / 0.8533 GB, free: 8.035 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.003765/0.4426, allocations: 2.108 MB / 0.8553 GB, free: 5.922 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.003608/0.4463, allocations: 1.124 MB / 0.8564 GB, free: 4.789 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01379/0.4601, allocations: 9.039 MB / 0.8652 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.4602, allocations: 0 / 0.8652 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.426e-06/0.4602, allocations: 0 / 0.8652 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0004885/0.4607, allocations: 0 / 0.8652 GB, free: 11.73 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01578/0.4765, allocations: 4.86 MB / 0.87 GB, free: 6.793 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 7.903e-05/0.4766, allocations: 8.031 kB / 0.87 GB, free: 6.785 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003795/0.4804, allocations: 0.723 MB / 0.8707 GB, free: 6.051 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009111/0.4895, allocations: 1.117 MB / 0.8718 GB, free: 4.926 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009418/0.499, allocations: 3.239 MB / 0.8749 GB, free: 1.609 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003884/0.4994, allocations: 378 kB / 0.8753 GB, free: 1.238 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001981/0.5014, allocations: 499.8 kB / 0.8758 GB, free: 0.75 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02002/0.5214, allocations: 7.919 MB / 0.8835 GB, free: 8.551 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001933/0.5217, allocations: 23.73 kB / 0.8835 GB, free: 8.527 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009041/0.5226, allocations: 220 kB / 0.8838 GB, free: 8.312 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00112/0.5237, allocations: 441.5 kB / 0.8842 GB, free: 7.879 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01445/0.5382, allocations: 6.046 MB / 0.8901 GB, free: 1.82 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7099/1.248, allocations: 35.22 MB / 0.9245 GB, free: 109.2 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006088/1.254, allocations: 2.014 MB / 0.9264 GB, free: 109.2 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002152/1.255, allocations: 23.06 kB / 0.9265 GB, free: 109.2 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.315e-05/1.255, allocations: 56.62 kB / 0.9265 GB, free: 109.1 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=171): time 8.486e-06/1.255, allocations: 4.688 kB / 0.9265 GB, free: 109.1 MB / 0.7325 GB Notification: Performance of matching and sorting (n=276): time 0.1814/1.436, allocations: 38.98 MB / 0.9646 GB, free: 100.7 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.117e-05/1.436, allocations: 80.52 kB / 0.9647 GB, free: 100.6 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003928/1.44, allocations: 2.249 MB / 0.9669 GB, free: 99.31 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0005956/1.441, allocations: 73.7 kB / 0.9669 GB, free: 99.23 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001469/1.442, allocations: 2.276 MB / 0.9692 GB, free: 96.94 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009694/1.443, allocations: 0.9346 MB / 0.9701 GB, free: 96.01 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001874/1.443, allocations: 56 kB / 0.9701 GB, free: 95.96 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001822/1.444, allocations: 428.1 kB / 0.9705 GB, free: 95.53 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002511/1.446, allocations: 1.966 MB / 0.9724 GB, free: 93.56 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00266/1.449, allocations: 2.579 MB / 0.975 GB, free: 90.75 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00283/1.452, allocations: 2.372 MB / 0.9773 GB, free: 88.36 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.346e-05/1.452, allocations: 8 kB / 0.9773 GB, free: 88.35 MB / 0.7325 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.0125/1.464, allocations: 7.715 MB / 0.9848 GB, free: 80.57 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.557e-05/1.464, allocations: 14.97 kB / 0.9848 GB, free: 80.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.52e-05/1.464, allocations: 20.91 kB / 0.9849 GB, free: 80.54 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008284/1.473, allocations: 3.228 MB / 0.988 GB, free: 77.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001787/1.474, allocations: 395.4 kB / 0.9884 GB, free: 76.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03503/1.509, allocations: 32.35 MB / 1.02 GB, free: 43.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003625/1.513, allocations: 163.8 kB / 1.02 GB, free: 43.61 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000369/1.514, allocations: 116 kB / 1.02 GB, free: 43.5 MB / 0.7325 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.003911/1.517, allocations: 1.795 MB / 1.022 GB, free: 41.69 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008838/1.518, allocations: 328.1 kB / 1.022 GB, free: 41.37 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0125/1.531, allocations: 7.33 MB / 1.029 GB, free: 33.96 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-05/1.531, allocations: 28 kB / 1.029 GB, free: 33.93 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-05/1.531, allocations: 28 kB / 1.03 GB, free: 33.9 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.801e-05/1.531, allocations: 11.95 kB / 1.03 GB, free: 33.89 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0215/1.553, allocations: 12.91 MB / 1.042 GB, free: 20.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.131e-05/1.553, allocations: 4 kB / 1.042 GB, free: 20.85 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009883/1.554, allocations: 234.3 kB / 1.042 GB, free: 20.62 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007411/1.561, allocations: 2.846 MB / 1.045 GB, free: 17.76 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003955/1.562, allocations: 56 kB / 1.045 GB, free: 17.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03979/1.601, allocations: 31.18 MB / 1.076 GB, free: 1.746 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.028e-05/1.601, allocations: 11.94 kB / 1.076 GB, free: 1.734 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01465/1.616, allocations: 7.412 MB / 1.083 GB, free: 9.871 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002327/1.618, allocations: 0.7859 MB / 1.084 GB, free: 9.062 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006264/1.619, allocations: 55.98 kB / 1.084 GB, free: 9.008 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001866/1.621, allocations: 175.4 kB / 1.084 GB, free: 8.84 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009121/1.622, allocations: 249.5 kB / 1.084 GB, free: 8.598 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001802/1.622, allocations: 76 kB / 1.084 GB, free: 8.523 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.002409/1.624, allocations: 1.506 MB / 1.086 GB, free: 7.016 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.5e-07/1.624, allocations: 0 / 1.086 GB, free: 7.016 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.005082/1.63, allocations: 1.367 MB / 1.087 GB, free: 5.648 MB / 0.7637 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.01517/1.645, allocations: 9.653 MB / 1.096 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01275/1.658, allocations: 6.912 MB / 1.103 GB, free: 4.68 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-05/1.658, allocations: 4.188 kB / 1.103 GB, free: 4.676 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.008373/1.666, allocations: 4.418 MB / 1.108 GB, free: 172 kB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005296/1.671, allocations: 0.9823 MB / 1.108 GB, free: 15.21 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0702/1.742, allocations: 43.8 MB / 1.151 GB, free: 1.766 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006042/1.748, allocations: 3.737 MB / 1.155 GB, free: 14 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.00254/1.75, allocations: 0.5556 MB / 1.155 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00305/1.753, allocations: 1.972 MB / 1.157 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of SimCode: time 1.593e-06/1.753, allocations: 0 / 1.157 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1765/1.93, allocations: 107.3 MB / 1.262 GB, free: 1.391 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003535/1.93, allocations: 226.8 kB / 1.262 GB, free: 1.145 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.352/7.282, allocations: 0 / 1.262 GB, free: 1.145 MB / 0.9356 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) Environment - environmentSimulation: