Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.ACLineMatrix_RL_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_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.001339/0.001339, allocations: 100 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.001728/0.001728, 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 1.741/1.741, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.947/1.947, allocations: 292.6 MB / 0.5497 GB, free: 14.63 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.0007077/0.0007081, allocations: 13.72 kB / 0.6737 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3067, allocations: 116.3 MB / 0.7872 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02174/0.3285, allocations: 20.52 MB / 0.8073 GB, free: 7.312 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01188/0.3404, allocations: 6.289 MB / 0.8134 GB, free: 1.004 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002167/0.3427, allocations: 75.5 kB / 0.8135 GB, free: 0.9297 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001217/0.3439, allocations: 461.2 kB / 0.8139 GB, free: 488 kB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004054/0.348, allocations: 1.203 MB / 0.8151 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003022/0.351, allocations: 0.9193 MB / 0.816 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005649/0.3567, allocations: 3.235 MB / 0.8192 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01191/0.3686, allocations: 7.1 MB / 0.8261 GB, free: 3.953 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003465/0.3721, allocations: 1.752 MB / 0.8278 GB, free: 2.195 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003515/0.3756, allocations: 2.056 MB / 0.8298 GB, free: 136 kB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0007176/0.3764, allocations: 252 kB / 0.8301 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001617/0.378, allocations: 491.5 kB / 0.8305 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001915/0.3799, allocations: 1.93 MB / 0.8324 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001259/0.3812, allocations: 0.8472 MB / 0.8332 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.007169/0.3884, allocations: 6.9 MB / 0.84 GB, free: 5.699 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.3884, allocations: 0 / 0.84 GB, free: 5.699 MB / 0.6544 GB Notification: Performance of FrontEnd: time 4.077e-06/0.3884, allocations: 0 / 0.84 GB, free: 5.699 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0003039/0.3887, allocations: 0 / 0.84 GB, free: 5.699 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.009953/0.3987, allocations: 3.578 MB / 0.8435 GB, free: 2.055 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.3988, allocations: 8.031 kB / 0.8435 GB, free: 2.047 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00209/0.4009, allocations: 0.5712 MB / 0.844 GB, free: 1.465 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009337/0.4102, allocations: 1.793 MB / 0.8458 GB, free: 15.66 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007327/0.4176, allocations: 2.513 MB / 0.8482 GB, free: 13.1 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000253/0.4179, allocations: 275.3 kB / 0.8485 GB, free: 12.83 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001504/0.4194, allocations: 363.9 kB / 0.8488 GB, free: 12.47 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01519/0.4346, allocations: 7.424 MB / 0.8561 GB, free: 4.781 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.333e-05/0.4348, allocations: 15.78 kB / 0.8561 GB, free: 4.766 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004699/0.4352, allocations: 159.9 kB / 0.8563 GB, free: 4.609 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006071/0.4359, allocations: 487.3 kB / 0.8567 GB, free: 4.133 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01978/0.4557, allocations: 5.685 MB / 0.8623 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07466/0.5305, allocations: 31.67 MB / 0.8932 GB, free: 11.99 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00588/0.5364, allocations: 2.086 MB / 0.8952 GB, free: 9.895 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003116/0.5368, allocations: 17.31 kB / 0.8953 GB, free: 9.879 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.834e-05/0.5369, allocations: 47.88 kB / 0.8953 GB, free: 9.824 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=146): time 6.021e-06/0.5369, allocations: 0 / 0.8953 GB, free: 9.824 MB / 0.7169 GB Notification: Performance of matching and sorting (n=251): time 1.022/1.558, allocations: 75.25 MB / 0.9688 GB, free: 105.9 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.353e-05/1.559, allocations: 77.41 kB / 0.9689 GB, free: 105.8 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003627/1.562, allocations: 1.65 MB / 0.9705 GB, free: 104.1 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0008603/1.563, allocations: 65.7 kB / 0.9705 GB, free: 104 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001365/1.565, allocations: 1.749 MB / 0.9722 GB, free: 102.3 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001435/1.566, allocations: 0.8527 MB / 0.9731 GB, free: 101.4 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004151/1.566, allocations: 56 kB / 0.9731 GB, free: 101.4 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001955/1.567, allocations: 407.2 kB / 0.9735 GB, free: 101 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006582/1.573, allocations: 2.718 MB / 0.9762 GB, free: 98.23 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007277/1.581, allocations: 3.316 MB / 0.9794 GB, free: 94.67 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008041/1.589, allocations: 3.051 MB / 0.9824 GB, free: 91.62 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.878e-05/1.589, allocations: 4 kB / 0.9824 GB, free: 91.62 MB / 0.7325 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.05763/1.646, allocations: 14.64 MB / 0.9967 GB, free: 76.93 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.757e-05/1.647, allocations: 16.77 kB / 0.9967 GB, free: 76.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.581e-05/1.647, allocations: 23.98 kB / 0.9967 GB, free: 76.9 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05655/1.703, allocations: 9.237 MB / 1.006 GB, free: 67.64 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002276/1.705, allocations: 303.5 kB / 1.006 GB, free: 67.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1033/1.809, allocations: 49.57 MB / 1.054 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00455/1.813, allocations: 227.7 kB / 1.055 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006445/1.814, allocations: 96 kB / 1.055 GB, free: 16.64 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 (157): * Single equations (assignments): 151 * 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 {(19,68.1%) 19,(19,54.6%) 19,(12,50.0%) 18,(12,50.0%) 18,(12,52.8%) 10,(12,53.5%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004433/1.818, allocations: 1.582 MB / 1.056 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009534/1.819, allocations: 249.1 kB / 1.057 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04483/1.864, allocations: 14.72 MB / 1.071 GB, free: 20 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.27e-05/1.864, allocations: 28.05 kB / 1.071 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002219/1.865, allocations: 44 kB / 1.071 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.996e-05/1.865, allocations: 16.66 kB / 1.071 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08099/1.946, allocations: 20.47 MB / 1.091 GB, free: 11.32 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.074e-05/1.946, allocations: 5 kB / 1.091 GB, free: 11.32 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001387/1.947, allocations: 159.8 kB / 1.091 GB, free: 11.16 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05559/2.003, allocations: 9.01 MB / 1.1 GB, free: 2.125 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009182/2.004, allocations: 48 kB / 1.1 GB, free: 2.078 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1413/2.145, allocations: 49.2 MB / 1.148 GB, free: 64 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.732e-05/2.145, allocations: 11.94 kB / 1.148 GB, free: 52 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.047/2.192, allocations: 14.77 MB / 1.162 GB, free: 0.8906 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00288/2.195, allocations: 0.8455 MB / 1.163 GB, free: 24 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007849/2.196, allocations: 55.27 kB / 1.163 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002344/2.198, allocations: 203.6 kB / 1.164 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001254/2.2, allocations: 237.6 kB / 1.164 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002215/2.2, allocations: 67.98 kB / 1.164 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001735/2.202, allocations: 1.102 MB / 1.165 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.21e-07/2.202, allocations: 0 / 1.165 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.005271/2.207, allocations: 1.617 MB / 1.167 GB, free: 12.73 MB / 0.8419 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 (80): * Single equations (assignments): 74 * 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 {(12,53.5%) 10,(12,50.0%) 18,(19,64.8%) 19,(12,53.5%) 10,(12,50.0%) 18,(19,54.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03321/2.24, allocations: 17.12 MB / 1.183 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.02464/2.265, allocations: 10.33 MB / 1.193 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.65e-05/2.265, allocations: 4 kB / 1.193 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.01853/2.283, allocations: 7.154 MB / 1.2 GB, free: 9.762 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002858/2.286, allocations: 483.1 kB / 1.201 GB, free: 9.297 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08376/2.37, allocations: 47.46 MB / 1.247 GB, free: 8.348 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004151/2.374, allocations: 3.299 MB / 1.25 GB, free: 5.012 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001315/2.376, allocations: 387.3 kB / 1.251 GB, free: 4.629 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002258/2.378, allocations: 1.483 MB / 1.252 GB, free: 3.145 MB / 0.92 GB Notification: Performance of SimCode: time 1.413e-06/2.378, allocations: 0 / 1.252 GB, free: 3.145 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8087/3.187, allocations: 112.3 MB / 1.362 GB, free: 255.3 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001967/3.187, allocations: 236.4 kB / 1.362 GB, free: 255.1 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.322/7.509, allocations: 0 / 1.362 GB, free: 255.1 MB / 0.9356 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) Environment - environmentSimulation: