Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_8_0_0_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_0_0_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/Buildings 8.0.0/package.mo): time 2.695/2.695, allocations: 287.3 MB / 302.3 MB, free: 8.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001534/0.001534, allocations: 182.5 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.129/2.129, allocations: 205.4 MB / 0.6295 GB, free: 10.63 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001165/0.001165, allocations: 93.94 kB / 0.7428 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005189/0.000519, allocations: 20.02 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.2176, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02794/0.2456, allocations: 20.47 MB / 0.9983 GB, free: 7.777 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01442/0.2601, allocations: 6.278 MB / 1.004 GB, free: 1.48 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002289/0.2624, allocations: 79.44 kB / 1.004 GB, free: 1.402 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002027/0.2645, allocations: 465.2 kB / 1.005 GB, free: 0.9453 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.005118/0.2696, allocations: 1.196 MB / 1.006 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004253/0.2739, allocations: 0.9166 MB / 1.007 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0073/0.2813, allocations: 3.216 MB / 1.01 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01711/0.2984, allocations: 7.083 MB / 1.017 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00541/0.3039, allocations: 1.729 MB / 1.019 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005467/0.3094, allocations: 2.064 MB / 1.021 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.001521/0.311, allocations: 248 kB / 1.021 GB, free: 432 kB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002851/0.3139, allocations: 495.5 kB / 1.021 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.003807/0.3178, allocations: 1.922 MB / 1.023 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.002164/0.32, allocations: 0.8394 MB / 1.024 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.01109/0.3311, allocations: 6.885 MB / 1.031 GB, free: 6.262 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.3312, allocations: 0 / 1.031 GB, free: 6.262 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.357e-06/0.3312, allocations: 3.938 kB / 1.031 GB, free: 6.258 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002471/0.3314, allocations: 0 / 1.031 GB, free: 6.258 MB / 0.6511 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.01188/0.3433, allocations: 3.582 MB / 1.034 GB, free: 2.609 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.588e-05/0.3434, allocations: 8.031 kB / 1.034 GB, free: 2.602 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002313/0.3457, allocations: 0.5712 MB / 1.035 GB, free: 2.02 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01491/0.3607, allocations: 1.793 MB / 1.037 GB, free: 224 kB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008287/0.369, allocations: 2.509 MB / 1.039 GB, free: 13.66 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003747/0.3694, allocations: 279.3 kB / 1.039 GB, free: 13.38 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001579/0.371, allocations: 355.9 kB / 1.04 GB, free: 13.04 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02123/0.3923, allocations: 7.428 MB / 1.047 GB, free: 5.344 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001485/0.3925, allocations: 15.78 kB / 1.047 GB, free: 5.328 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008054/0.3933, allocations: 163.9 kB / 1.047 GB, free: 5.168 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001033/0.3943, allocations: 487.3 kB / 1.048 GB, free: 4.691 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01724/0.4116, allocations: 5.681 MB / 1.053 GB, free: 15 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6823/1.094, allocations: 31.64 MB / 1.084 GB, free: 64.32 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00573/1.1, allocations: 2.087 MB / 1.086 GB, free: 63.52 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004329/1.1, allocations: 15.22 kB / 1.086 GB, free: 63.52 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/1.1, allocations: 49.34 kB / 1.086 GB, free: 63.47 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=146): time 4.609e-06/1.1, allocations: 0 / 1.086 GB, free: 63.47 MB / 0.6823 GB Notification: Performance of matching and sorting (n=251): time 0.5876/1.688, allocations: 75.25 MB / 1.16 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.399e-05/1.688, allocations: 77.41 kB / 1.16 GB, free: 14.99 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003002/1.691, allocations: 1.654 MB / 1.161 GB, free: 13.29 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000751/1.692, allocations: 65.7 kB / 1.161 GB, free: 13.22 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001168/1.693, allocations: 1.746 MB / 1.163 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.00131/1.694, allocations: 0.8538 MB / 1.164 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004561/1.695, allocations: 48 kB / 1.164 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001684/1.695, allocations: 411.2 kB / 1.164 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006315/1.701, allocations: 2.726 MB / 1.167 GB, free: 7.426 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006997/1.708, allocations: 3.308 MB / 1.17 GB, free: 3.863 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007179/1.716, allocations: 3.059 MB / 1.173 GB, free: 0.8086 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-05/1.716, allocations: 4 kB / 1.173 GB, free: 0.8047 MB / 0.6823 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.06421/1.78, allocations: 14.65 MB / 1.188 GB, free: 2.113 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.504e-05/1.78, allocations: 12 kB / 1.188 GB, free: 2.102 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.603e-05/1.78, allocations: 16 kB / 1.188 GB, free: 2.086 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05901/1.839, allocations: 9.237 MB / 1.197 GB, free: 8.824 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002309/1.841, allocations: 299.5 kB / 1.197 GB, free: 8.531 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1443/1.986, allocations: 49.59 MB / 1.245 GB, free: 6.113 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004953/1.991, allocations: 223.7 kB / 1.246 GB, free: 5.895 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009205/1.992, allocations: 96 kB / 1.246 GB, free: 5.801 MB / 0.7605 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.005351/1.997, allocations: 1.586 MB / 1.247 GB, free: 4.203 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001051/1.998, allocations: 241.1 kB / 1.247 GB, free: 3.965 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06431/2.063, allocations: 14.72 MB / 1.262 GB, free: 5.188 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.011e-05/2.063, allocations: 24 kB / 1.262 GB, free: 5.164 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002038/2.063, allocations: 47.98 kB / 1.262 GB, free: 5.117 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.46e-05/2.063, allocations: 11.95 kB / 1.262 GB, free: 5.105 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08242/2.145, allocations: 20.48 MB / 1.282 GB, free: 484 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.973e-05/2.145, allocations: 8 kB / 1.282 GB, free: 476 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001514/2.147, allocations: 167.2 kB / 1.282 GB, free: 312 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05864/2.206, allocations: 9.011 MB / 1.291 GB, free: 7.27 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008611/2.207, allocations: 48 kB / 1.291 GB, free: 7.223 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1443/2.351, allocations: 49.2 MB / 1.339 GB, free: 5.211 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.509e-05/2.351, allocations: 12.38 kB / 1.339 GB, free: 5.199 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06264/2.414, allocations: 14.77 MB / 1.353 GB, free: 6.047 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003467/2.417, allocations: 0.8454 MB / 1.354 GB, free: 5.18 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001071/2.418, allocations: 51.98 kB / 1.354 GB, free: 5.129 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004436/2.423, allocations: 211.6 kB / 1.354 GB, free: 4.922 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002346/2.425, allocations: 249.2 kB / 1.355 GB, free: 4.676 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006726/2.426, allocations: 68 kB / 1.355 GB, free: 4.609 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002932/2.429, allocations: 1.113 MB / 1.356 GB, free: 3.473 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.11e-07/2.429, allocations: 0 / 1.356 GB, free: 3.473 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.008097/2.437, allocations: 1.594 MB / 1.357 GB, free: 1.879 MB / 0.8698 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.06362/2.501, allocations: 17.11 MB / 1.374 GB, free: 0.5195 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.04076/2.541, allocations: 10.33 MB / 1.384 GB, free: 6.113 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.538e-05/2.541, allocations: 4.875 kB / 1.384 GB, free: 6.109 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.03242/2.574, allocations: 7.136 MB / 1.391 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003991/2.578, allocations: 494.5 kB / 1.392 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8114/3.389, allocations: 47.41 MB / 1.438 GB, free: 312.5 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006728/3.396, allocations: 3.3 MB / 1.441 GB, free: 311.3 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002015/3.398, allocations: 391.7 kB / 1.442 GB, free: 311.3 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002695/3.401, allocations: 1.487 MB / 1.443 GB, free: 310 MB / 0.9323 GB Notification: Performance of SimCode: time 3.056e-06/3.401, allocations: 0 / 1.443 GB, free: 310 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2385/3.639, allocations: 112.3 MB / 1.553 GB, free: 225.5 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002408/3.64, allocations: 232.9 kB / 1.553 GB, free: 225.3 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.451/9.091, allocations: 4 kB / 1.553 GB, free: 225.3 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)