Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.ACLine_L_N,fileNamePrefix="Buildings_8_0_0_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_0_0_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/Buildings 8.0.0/package.mo): time 2.758/2.758, allocations: 287.5 MB / 302.4 MB, free: 8.316 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.001326/0.001326, allocations: 180.7 kB / 371 MB, free: 10.87 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.076/2.076, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.000959/0.0009589, allocations: 88.19 kB / 0.743 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007131/0.0007134, allocations: 12.11 kB / 0.8659 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2855, allocations: 115.3 MB / 0.9785 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.07243/0.358, allocations: 31.65 MB / 1.009 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.03659/0.3947, allocations: 11.04 MB / 1.02 GB, free: 1.453 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004084/0.3988, allocations: 135.2 kB / 1.02 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.004154/0.4031, allocations: 0.686 MB / 1.021 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.008314/0.4114, allocations: 1.582 MB / 1.022 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.008729/0.4202, allocations: 1.435 MB / 1.024 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.02146/0.4417, allocations: 9.63 MB / 1.033 GB, free: 3.949 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04398/0.4858, allocations: 12.56 MB / 1.046 GB, free: 7.312 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006831/0.4927, allocations: 2.646 MB / 1.048 GB, free: 4.656 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008219/0.501, allocations: 3.481 MB / 1.052 GB, free: 1.164 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.002026/0.503, allocations: 328 kB / 1.052 GB, free: 0.8438 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005276/0.5083, allocations: 0.9641 MB / 1.053 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.005076/0.5135, allocations: 2.455 MB / 1.055 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.003065/0.5166, allocations: 1.108 MB / 1.056 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01614/0.5328, allocations: 9.923 MB / 1.066 GB, free: 2.352 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/0.5328, allocations: 3.938 kB / 1.066 GB, free: 2.348 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.956e-06/0.5328, allocations: 0 / 1.066 GB, free: 2.348 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003819/0.5332, allocations: 0 / 1.066 GB, free: 2.348 MB / 0.6823 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.6341/1.167, allocations: 4.705 MB / 1.071 GB, free: 80.69 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.721e-05/1.167, allocations: 10.69 kB / 1.071 GB, free: 80.69 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003677/1.171, allocations: 0.8036 MB / 1.071 GB, free: 80.27 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01027/1.181, allocations: 1.064 MB / 1.072 GB, free: 79.93 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01098/1.192, allocations: 3.21 MB / 1.076 GB, free: 78.36 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006165/1.193, allocations: 411.3 kB / 1.076 GB, free: 78.18 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002319/1.195, allocations: 0.5435 MB / 1.076 GB, free: 78 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02959/1.225, allocations: 9.025 MB / 1.085 GB, free: 74.22 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000297/1.225, allocations: 26.73 kB / 1.085 GB, free: 74.21 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001497/1.227, allocations: 237.2 kB / 1.086 GB, free: 74.04 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006388/1.228, allocations: 352.2 kB / 1.086 GB, free: 74 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02155/1.249, allocations: 6.777 MB / 1.092 GB, free: 71.65 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05734/1.307, allocations: 40.18 MB / 1.132 GB, free: 35.81 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006408/1.313, allocations: 3.103 MB / 1.135 GB, free: 33.72 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004686/1.318, allocations: 1.952 MB / 1.137 GB, free: 32.71 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002807/1.318, allocations: 19.92 kB / 1.137 GB, free: 32.71 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.783e-05/1.318, allocations: 54.41 kB / 1.137 GB, free: 32.65 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=179): time 5.039e-06/1.318, allocations: 0 / 1.137 GB, free: 32.65 MB / 0.6823 GB Notification: Performance of matching and sorting (n=182): time 0.04231/1.361, allocations: 9.876 MB / 1.146 GB, free: 26.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/1.361, allocations: 73.34 kB / 1.146 GB, free: 26.22 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002597/1.363, allocations: 1.511 MB / 1.148 GB, free: 24.67 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003775/1.364, allocations: 53.7 kB / 1.148 GB, free: 24.61 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001407/1.365, allocations: 2.258 MB / 1.15 GB, free: 22.33 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008295/1.366, allocations: 0.6264 MB / 1.151 GB, free: 21.71 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001932/1.366, allocations: 47.75 kB / 1.151 GB, free: 21.66 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001524/1.366, allocations: 402.4 kB / 1.151 GB, free: 21.27 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002511/1.369, allocations: 1.172 MB / 1.152 GB, free: 20.09 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00296/1.372, allocations: 1.866 MB / 1.154 GB, free: 17.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003441/1.375, allocations: 1.509 MB / 1.156 GB, free: 16.39 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.885e-05/1.375, allocations: 12 kB / 1.156 GB, free: 16.38 MB / 0.6823 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.01209/1.387, allocations: 4.551 MB / 1.16 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.978e-05/1.388, allocations: 12 kB / 1.16 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.399e-05/1.388, allocations: 24 kB / 1.16 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006186/1.394, allocations: 1.592 MB / 1.162 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00227/1.396, allocations: 355.4 kB / 1.162 GB, free: 9.832 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03397/1.43, allocations: 17.04 MB / 1.179 GB, free: 8.258 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002865/1.433, allocations: 119.9 kB / 1.179 GB, free: 8.141 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004161/1.434, allocations: 104 kB / 1.179 GB, free: 8.039 MB / 0.698 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.006049/1.44, allocations: 1.89 MB / 1.181 GB, free: 6.137 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007692/1.44, allocations: 229.3 kB / 1.181 GB, free: 5.91 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01336/1.454, allocations: 4.079 MB / 1.185 GB, free: 1.801 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.145e-05/1.454, allocations: 16 kB / 1.185 GB, free: 1.785 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.924e-05/1.454, allocations: 16 kB / 1.185 GB, free: 1.77 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-05/1.454, allocations: 11.95 kB / 1.185 GB, free: 1.758 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03526/1.489, allocations: 9.439 MB / 1.194 GB, free: 8.105 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.897e-05/1.489, allocations: 8.031 kB / 1.194 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001786/1.491, allocations: 179.7 kB / 1.194 GB, free: 7.922 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006566/1.498, allocations: 1.352 MB / 1.196 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004379/1.498, allocations: 36 kB / 1.196 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03642/1.535, allocations: 15.95 MB / 1.211 GB, free: 6.062 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.007e-05/1.535, allocations: 11.94 kB / 1.211 GB, free: 6.051 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01224/1.547, allocations: 4.054 MB / 1.215 GB, free: 1.902 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001931/1.549, allocations: 0.5256 MB / 1.216 GB, free: 1.355 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005412/1.549, allocations: 36 kB / 1.216 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001815/1.551, allocations: 87.89 kB / 1.216 GB, free: 1.234 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006113/1.552, allocations: 165.7 kB / 1.216 GB, free: 1.074 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001934/1.552, allocations: 48 kB / 1.216 GB, free: 1.027 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002392/1.555, allocations: 0.989 MB / 1.217 GB, free: 16 kB / 0.7292 GB Notification: Performance of sort global known variables: time 6.92e-07/1.555, allocations: 0 / 1.217 GB, free: 16 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.005062/1.56, allocations: 0.9883 MB / 1.218 GB, free: 15.02 MB / 0.7448 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.02443/1.584, allocations: 4.64 MB / 1.223 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.02314/1.607, allocations: 4.288 MB / 1.227 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.019e-05/1.607, allocations: 7.75 kB / 1.227 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.01517/1.623, allocations: 2.666 MB / 1.229 GB, free: 3.234 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006981/1.63, allocations: 0.7146 MB / 1.23 GB, free: 2.527 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09418/1.724, allocations: 22.84 MB / 1.252 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01492/1.739, allocations: 3.579 MB / 1.256 GB, free: 6.762 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.003939/1.743, allocations: 463.9 kB / 1.256 GB, free: 6.305 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005372/1.748, allocations: 1.796 MB / 1.258 GB, free: 4.508 MB / 0.7761 GB Notification: Performance of SimCode: time 1.943e-06/1.748, allocations: 0 / 1.258 GB, free: 4.508 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2056/1.954, allocations: 70.51 MB / 1.327 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003798/1.954, allocations: 241.5 kB / 1.327 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.57/6.525, allocations: 0 / 1.327 GB, free: 14.35 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)