Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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_RL_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_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.0008889/0.0008888, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001355/0.001355, allocations: 168.7 kB / 15.95 MB, free: 204 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.815/1.815, allocations: 205.4 MB / 222.1 MB, free: 5.633 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.801/1.801, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0005581/0.0005581, allocations: 13.94 kB / 0.6738 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2928, allocations: 116.3 MB / 0.7874 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.0213/0.3142, allocations: 18.33 MB / 0.8053 GB, free: 9.422 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01182/0.326, allocations: 6.195 MB / 0.8114 GB, free: 3.211 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003019/0.3291, allocations: 75.56 kB / 0.8114 GB, free: 3.137 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001525/0.3307, allocations: 392.9 kB / 0.8118 GB, free: 2.75 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003703/0.3344, allocations: 0.9677 MB / 0.8128 GB, free: 1.777 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003489/0.3379, allocations: 0.7561 MB / 0.8135 GB, free: 1.02 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00875/0.3467, allocations: 5.477 MB / 0.8188 GB, free: 11.53 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01218/0.3589, allocations: 6.383 MB / 0.8251 GB, free: 5.09 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003777/0.3627, allocations: 1.517 MB / 0.8266 GB, free: 3.566 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004377/0.3671, allocations: 1.966 MB / 0.8285 GB, free: 1.594 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001049/0.3682, allocations: 176 kB / 0.8286 GB, free: 1.422 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002496/0.3707, allocations: 487.4 kB / 0.8291 GB, free: 0.9453 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002582/0.3733, allocations: 1.344 MB / 0.8304 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001766/0.3751, allocations: 0.6369 MB / 0.831 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006787/0.3819, allocations: 5.38 MB / 0.8363 GB, free: 9.559 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.3819, allocations: 0 / 0.8363 GB, free: 9.559 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.865e-06/0.3819, allocations: 4 kB / 0.8363 GB, free: 9.555 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001763/0.3821, allocations: 0 / 0.8363 GB, free: 9.555 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.006496/0.3886, allocations: 2.851 MB / 0.8391 GB, free: 6.641 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.3887, allocations: 8.031 kB / 0.8391 GB, free: 6.633 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000943/0.3896, allocations: 454.4 kB / 0.8395 GB, free: 6.176 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003283/0.3929, allocations: 0.6363 MB / 0.8402 GB, free: 5.535 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003532/0.3965, allocations: 1.9 MB / 0.842 GB, free: 3.574 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001579/0.3966, allocations: 221.9 kB / 0.8422 GB, free: 3.355 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005217/0.3972, allocations: 291.9 kB / 0.8425 GB, free: 3.07 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008923/0.4061, allocations: 4.867 MB / 0.8473 GB, free: 14 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.653e-05/0.4062, allocations: 19.86 kB / 0.8473 GB, free: 13.98 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003015/0.4065, allocations: 132 kB / 0.8474 GB, free: 13.86 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004553/0.407, allocations: 221.7 kB / 0.8476 GB, free: 13.64 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006703/0.4137, allocations: 3.727 MB / 0.8512 GB, free: 9.898 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02556/0.4393, allocations: 21.61 MB / 0.8724 GB, free: 2.293 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001873/0.4412, allocations: 1.303 MB / 0.8736 GB, free: 0.9805 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00149/0.4427, allocations: 1.046 MB / 0.8746 GB, free: 15.94 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.126e-05/0.4428, allocations: 16.94 kB / 0.8747 GB, free: 15.92 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.853e-05/0.4429, allocations: 47.55 kB / 0.8747 GB, free: 15.87 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=107): time 2.685e-06/0.4429, allocations: 0 / 0.8747 GB, free: 15.87 MB / 0.7012 GB Notification: Performance of matching and sorting (n=138): time 0.02324/0.4661, allocations: 8.662 MB / 0.8832 GB, free: 7.141 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.044e-05/0.4662, allocations: 64.72 kB / 0.8832 GB, free: 7.062 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00205/0.4683, allocations: 1.119 MB / 0.8843 GB, free: 5.938 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.000127/0.4684, allocations: 45.7 kB / 0.8844 GB, free: 5.887 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001006/0.4694, allocations: 1.3 MB / 0.8856 GB, free: 4.57 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004834/0.4699, allocations: 485 kB / 0.8861 GB, free: 4.09 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.4701, allocations: 28 kB / 0.8861 GB, free: 4.062 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002261/0.4703, allocations: 373.9 kB / 0.8865 GB, free: 3.691 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001387/0.4717, allocations: 0.9057 MB / 0.8874 GB, free: 2.785 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001725/0.4734, allocations: 1.326 MB / 0.8887 GB, free: 1.289 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001728/0.4752, allocations: 1.135 MB / 0.8898 GB, free: 160 kB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.201e-05/0.4752, allocations: 4 kB / 0.8898 GB, free: 156 kB / 0.7012 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006338/0.4815, allocations: 3.442 MB / 0.8931 GB, free: 12.69 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.611e-05/0.4816, allocations: 12 kB / 0.8931 GB, free: 12.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.686e-05/0.4816, allocations: 15.98 kB / 0.8932 GB, free: 12.66 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003126/0.4848, allocations: 1.189 MB / 0.8943 GB, free: 11.47 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000995/0.4858, allocations: 259.6 kB / 0.8946 GB, free: 11.22 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01745/0.5032, allocations: 12.7 MB / 0.907 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001512/0.5048, allocations: 91.97 kB / 0.9071 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002994/0.5051, allocations: 64 kB / 0.9071 GB, free: 13.97 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,92.0%) 17,(5,92.0%) 17,(5,88.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002502/0.5076, allocations: 1.115 MB / 0.9082 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005339/0.5082, allocations: 166.1 kB / 0.9084 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00645/0.5146, allocations: 3.158 MB / 0.9114 GB, free: 9.504 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.382e-05/0.5147, allocations: 12 kB / 0.9115 GB, free: 9.492 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.933e-05/0.5148, allocations: 12 kB / 0.9115 GB, free: 9.48 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.436e-05/0.5148, allocations: 7.969 kB / 0.9115 GB, free: 9.473 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01317/0.528, allocations: 6.233 MB / 0.9176 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.852e-05/0.5281, allocations: 8.938 kB / 0.9176 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005813/0.5286, allocations: 143.8 kB / 0.9177 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002814/0.5315, allocations: 1.062 MB / 0.9187 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001252/0.5316, allocations: 39.98 kB / 0.9188 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5347/1.066, allocations: 12.42 MB / 0.9309 GB, free: 120.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/1.066, allocations: 5.609 kB / 0.9309 GB, free: 120.2 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005174/1.072, allocations: 3.141 MB / 0.934 GB, free: 119 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008049/1.072, allocations: 435.1 kB / 0.9344 GB, free: 118.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001803/1.073, allocations: 27.39 kB / 0.9344 GB, free: 118.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007072/1.073, allocations: 87.44 kB / 0.9345 GB, free: 118.7 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003312/1.074, allocations: 123.9 kB / 0.9346 GB, free: 118.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.678e-05/1.074, allocations: 41.89 kB / 0.9347 GB, free: 118.7 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001019/1.075, allocations: 0.7577 MB / 0.9354 GB, free: 118.4 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.1e-07/1.075, allocations: 0 / 0.9354 GB, free: 118.4 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001897/1.077, allocations: 0.6587 MB / 0.936 GB, free: 118.3 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 (70): * Single equations (assignments): 67 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,88.0%) 25,(5,92.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005458/1.082, allocations: 3.731 MB / 0.9397 GB, free: 116.5 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005303/1.087, allocations: 3.126 MB / 0.9427 GB, free: 115 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/1.087, allocations: 1.281 kB / 0.9427 GB, free: 115 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003282/1.091, allocations: 1.956 MB / 0.9447 GB, free: 114.1 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002282/1.093, allocations: 470.2 kB / 0.9451 GB, free: 113.9 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02936/1.122, allocations: 15.1 MB / 0.9598 GB, free: 106.1 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002687/1.125, allocations: 2.337 MB / 0.9621 GB, free: 105 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001364/1.127, allocations: 355.3 kB / 0.9625 GB, free: 105 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001169/1.128, allocations: 1.006 MB / 0.9635 GB, free: 104.1 MB / 0.7325 GB Notification: Performance of SimCode: time 3.927e-06/1.128, allocations: 4 kB / 0.9635 GB, free: 104.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07351/1.201, allocations: 49.36 MB / 1.012 GB, free: 61.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001802/1.201, allocations: 237.2 kB / 1.012 GB, free: 60.85 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.769/3.97, allocations: 0 / 1.012 GB, free: 60.85 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) Environment - environmentSimulation: