Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.425/1.425, allocations: 252 MB / 267.3 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001059/0.001059, allocations: 170.7 kB / 327 MB, free: 2.113 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.895/1.895, allocations: 205.4 MB / 0.578 GB, free: 20.17 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007934/0.0007934, allocations: 88.19 kB / 0.6826 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003656/0.0003656, allocations: 8.844 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.269/0.2693, allocations: 106.3 MB / 0.9009 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.03017/0.2996, allocations: 36.59 MB / 0.9367 GB, free: 26.69 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01906/0.3187, allocations: 10.95 MB / 0.9474 GB, free: 15.7 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005181/0.3239, allocations: 135.2 kB / 0.9475 GB, free: 15.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002826/0.3268, allocations: 0.7791 MB / 0.9483 GB, free: 14.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.006337/0.3332, allocations: 2.088 MB / 0.9503 GB, free: 12.69 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.004566/0.3377, allocations: 1.791 MB / 0.952 GB, free: 10.9 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0133/0.3511, allocations: 13.18 MB / 0.9649 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02258/0.3737, allocations: 14.44 MB / 0.979 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006499/0.3802, allocations: 2.922 MB / 0.9819 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006813/0.3871, allocations: 3.865 MB / 0.9856 GB, free: 8.32 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.001609/0.3888, allocations: 348 kB / 0.986 GB, free: 7.98 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004157/0.3929, allocations: 1.33 MB / 0.9873 GB, free: 6.648 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.004193/0.3971, allocations: 2.529 MB / 0.9897 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.005521/0.4027, allocations: 2.964 MB / 0.9926 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01548/0.4182, allocations: 11.68 MB / 1.004 GB, free: 5.41 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/0.4183, allocations: 0 / 1.004 GB, free: 5.41 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.936e-06/0.4183, allocations: 3.938 kB / 1.004 GB, free: 5.406 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0005071/0.4188, allocations: 0 / 1.004 GB, free: 5.406 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01476/0.4336, allocations: 5.09 MB / 1.009 GB, free: 252 kB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.4336, allocations: 8.031 kB / 1.009 GB, free: 244 kB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003145/0.4368, allocations: 0.8294 MB / 1.01 GB, free: 15.4 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006574/0.4434, allocations: 1.063 MB / 1.011 GB, free: 14.33 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007364/0.4508, allocations: 3.419 MB / 1.014 GB, free: 10.86 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003986/0.4512, allocations: 427.7 kB / 1.015 GB, free: 10.44 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001817/0.453, allocations: 0.5394 MB / 1.015 GB, free: 9.898 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01854/0.4716, allocations: 9.385 MB / 1.024 GB, free: 184 kB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001691/0.4718, allocations: 23.72 kB / 1.024 GB, free: 160 kB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001089/0.4729, allocations: 248 kB / 1.025 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006154/0.4735, allocations: 422.9 kB / 1.025 GB, free: 15.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01405/0.4876, allocations: 7.123 MB / 1.032 GB, free: 8.367 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5028/0.9904, allocations: 41.36 MB / 1.072 GB, free: 117.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006375/0.9969, allocations: 3.108 MB / 1.075 GB, free: 117.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003908/1.001, allocations: 2.118 MB / 1.077 GB, free: 117.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001324/1.001, allocations: 24.94 kB / 1.077 GB, free: 117.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.495e-05/1.001, allocations: 62.23 kB / 1.078 GB, free: 117.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=209): time 5.019e-06/1.001, allocations: 0 / 1.078 GB, free: 117.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=212): time 0.025/1.026, allocations: 10.62 MB / 1.088 GB, free: 115.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/1.026, allocations: 74.62 kB / 1.088 GB, free: 115.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002619/1.029, allocations: 2.008 MB / 1.09 GB, free: 114.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001836/1.029, allocations: 61.55 kB / 1.09 GB, free: 114.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00112/1.03, allocations: 2.401 MB / 1.092 GB, free: 112.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005592/1.031, allocations: 0.7304 MB / 1.093 GB, free: 111.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/1.031, allocations: 55.84 kB / 1.093 GB, free: 111.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001504/1.031, allocations: 410.9 kB / 1.093 GB, free: 111.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001852/1.033, allocations: 1.375 MB / 1.095 GB, free: 110.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002373/1.035, allocations: 2.104 MB / 1.097 GB, free: 108.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005638/1.041, allocations: 3.766 MB / 1.101 GB, free: 106.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.199e-05/1.041, allocations: 7.781 kB / 1.101 GB, free: 106.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.007549/1.048, allocations: 5.075 MB / 1.106 GB, free: 103.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.801e-05/1.049, allocations: 16.06 kB / 1.106 GB, free: 103.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.524e-05/1.049, allocations: 34.48 kB / 1.106 GB, free: 103.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003131/1.052, allocations: 1.558 MB / 1.107 GB, free: 103 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001599/1.053, allocations: 452.5 kB / 1.108 GB, free: 102.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01683/1.07, allocations: 17.1 MB / 1.124 GB, free: 87.83 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002711/1.073, allocations: 151.9 kB / 1.124 GB, free: 87.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002405/1.073, allocations: 108 kB / 1.124 GB, free: 87.58 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,32,69.4%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003008/1.076, allocations: 1.941 MB / 1.126 GB, free: 85.63 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005478/1.077, allocations: 288.7 kB / 1.127 GB, free: 85.34 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005718/1.083, allocations: 4.455 MB / 1.131 GB, free: 80.86 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.648e-05/1.083, allocations: 24 kB / 1.131 GB, free: 80.84 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.036e-05/1.083, allocations: 16 kB / 1.131 GB, free: 80.82 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.648e-05/1.083, allocations: 11.95 kB / 1.131 GB, free: 80.81 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01288/1.096, allocations: 9.669 MB / 1.14 GB, free: 71.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/1.096, allocations: 4 kB / 1.14 GB, free: 71.03 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000907/1.096, allocations: 227.7 kB / 1.141 GB, free: 70.81 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002826/1.099, allocations: 1.431 MB / 1.142 GB, free: 69.37 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001304/1.099, allocations: 40 kB / 1.142 GB, free: 69.33 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01634/1.116, allocations: 17.1 MB / 1.159 GB, free: 51.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/1.116, allocations: 4 kB / 1.159 GB, free: 51.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006744/1.123, allocations: 4.556 MB / 1.163 GB, free: 47.06 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001438/1.124, allocations: 0.6381 MB / 1.164 GB, free: 46.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003882/1.124, allocations: 36 kB / 1.164 GB, free: 46.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001249/1.126, allocations: 119.9 kB / 1.164 GB, free: 46.25 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004963/1.126, allocations: 177.6 kB / 1.164 GB, free: 46.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001265/1.126, allocations: 60 kB / 1.164 GB, free: 46.01 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001526/1.128, allocations: 1.319 MB / 1.166 GB, free: 44.68 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/1.128, allocations: 0 / 1.166 GB, free: 44.68 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003837/1.132, allocations: 1.141 MB / 1.167 GB, free: 43.54 MB / 0.698 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005968/1.138, allocations: 5.153 MB / 1.172 GB, free: 38.29 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006118/1.144, allocations: 4.701 MB / 1.176 GB, free: 33.54 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/1.144, allocations: 7.922 kB / 1.176 GB, free: 33.54 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003786/1.148, allocations: 2.916 MB / 1.179 GB, free: 30.57 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005053/1.153, allocations: 0.8335 MB / 1.18 GB, free: 29.75 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05162/1.204, allocations: 35.93 MB / 1.215 GB, free: 7.305 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00528/1.21, allocations: 3.69 MB / 1.219 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002276/1.212, allocations: 0.5556 MB / 1.219 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002511/1.215, allocations: 1.944 MB / 1.221 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of SimCode: time 3.116e-06/1.215, allocations: 0 / 1.221 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1357/1.35, allocations: 82.38 MB / 1.302 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002138/1.351, allocations: 261.4 kB / 1.302 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.64/5.991, allocations: 0 / 1.302 GB, free: 15.2 MB / 0.8073 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)