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_RL.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_RL,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",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.462/1.462, allocations: 252 MB / 267.3 MB, free: 10.84 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.001055/0.001055, allocations: 181.3 kB / 327 MB, free: 2.066 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.999/1.999, allocations: 205.4 MB / 0.578 GB, free: 20.05 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.0007878/0.000788, allocations: 86.14 kB / 0.6826 GB, free: 12.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003205/0.0003207, allocations: 12.3 kB / 0.7971 GB, free: 134.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2506/0.251, allocations: 106.3 MB / 0.9009 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02368/0.2747, allocations: 25.66 MB / 0.926 GB, free: 37.41 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01339/0.2882, allocations: 8.056 MB / 0.9339 GB, free: 29.32 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003559/0.2918, allocations: 95.44 kB / 0.934 GB, free: 29.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002406/0.2942, allocations: 0.5272 MB / 0.9345 GB, free: 28.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.005692/0.2999, allocations: 1.489 MB / 0.9359 GB, free: 27.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.004576/0.3046, allocations: 1.397 MB / 0.9373 GB, free: 25.81 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.00881/0.3134, allocations: 8.7 MB / 0.9458 GB, free: 17.09 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01459/0.328, allocations: 9.144 MB / 0.9547 GB, free: 7.852 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004519/0.3326, allocations: 1.902 MB / 0.9566 GB, free: 5.941 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00459/0.3372, allocations: 2.452 MB / 0.959 GB, free: 3.48 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.001373/0.3386, allocations: 212 kB / 0.9592 GB, free: 3.273 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004002/0.3426, allocations: 1.209 MB / 0.9603 GB, free: 2.062 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.00281/0.3455, allocations: 1.66 MB / 0.962 GB, free: 408 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.004148/0.3496, allocations: 1.961 MB / 0.9639 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.01078/0.3605, allocations: 7.682 MB / 0.9714 GB, free: 6.711 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 9.558e-06/0.3605, allocations: 0 / 0.9714 GB, free: 6.711 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.447e-06/0.3606, allocations: 0 / 0.9714 GB, free: 6.711 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002981/0.3609, allocations: 0 / 0.9714 GB, free: 6.711 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.009466/0.3703, allocations: 3.425 MB / 0.9747 GB, free: 3.223 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 7.347e-05/0.3704, allocations: 12.03 kB / 0.9747 GB, free: 3.211 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001954/0.3724, allocations: 0.5382 MB / 0.9753 GB, free: 2.664 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0051/0.3775, allocations: 0.7962 MB / 0.976 GB, free: 1.863 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005849/0.3834, allocations: 2.428 MB / 0.9784 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002582/0.3837, allocations: 275.6 kB / 0.9787 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00126/0.385, allocations: 376.4 kB / 0.979 GB, free: 14.74 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01326/0.3982, allocations: 5.992 MB / 0.9849 GB, free: 8.496 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001091/0.3984, allocations: 23.77 kB / 0.9849 GB, free: 8.473 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004413/0.3989, allocations: 164 kB / 0.9851 GB, free: 8.312 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006342/0.3995, allocations: 282.9 kB / 0.9853 GB, free: 8.035 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0103/0.4098, allocations: 4.52 MB / 0.9898 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03369/0.4436, allocations: 27.7 MB / 1.017 GB, free: 5.305 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001634/0.4452, allocations: 1.125 MB / 1.018 GB, free: 4.172 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001296/0.4466, allocations: 1.015 MB / 1.019 GB, free: 3.152 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 5.533e-05/0.4466, allocations: 9 kB / 1.019 GB, free: 3.145 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.4467, allocations: 47.56 kB / 1.019 GB, free: 3.09 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=110): time 2.405e-06/0.4467, allocations: 0 / 1.019 GB, free: 3.09 MB / 0.6667 GB Notification: Performance of matching and sorting (n=131): time 0.02244/0.4691, allocations: 9.684 MB / 1.028 GB, free: 9.195 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.4692, allocations: 64.72 kB / 1.028 GB, free: 9.121 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002335/0.4716, allocations: 1.494 MB / 1.03 GB, free: 7.629 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001853/0.4718, allocations: 53.7 kB / 1.03 GB, free: 7.57 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001395/0.4732, allocations: 1.671 MB / 1.032 GB, free: 5.875 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005279/0.4737, allocations: 465.3 kB / 1.032 GB, free: 5.414 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.673e-05/0.4738, allocations: 36 kB / 1.032 GB, free: 5.379 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001961/0.474, allocations: 381.8 kB / 1.032 GB, free: 5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001384/0.4754, allocations: 0.9096 MB / 1.033 GB, free: 4.09 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001679/0.4771, allocations: 1.463 MB / 1.035 GB, free: 2.391 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003259/0.4804, allocations: 2.55 MB / 1.037 GB, free: 15.59 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.849e-06/0.4804, allocations: 11.94 kB / 1.037 GB, free: 15.58 MB / 0.698 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005929/0.4863, allocations: 3.281 MB / 1.04 GB, free: 12.26 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.843e-05/0.4864, allocations: 12 kB / 1.04 GB, free: 12.25 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.932e-05/0.4864, allocations: 20 kB / 1.04 GB, free: 12.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002374/0.4888, allocations: 0.742 MB / 1.041 GB, free: 11.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001527/0.4903, allocations: 383.4 kB / 1.042 GB, free: 11.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5479/1.038, allocations: 15.77 MB / 1.057 GB, free: 131.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001993/1.04, allocations: 101.2 kB / 1.057 GB, free: 131.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001682/1.041, allocations: 74.69 kB / 1.057 GB, free: 131.1 MB / 0.698 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002598/1.043, allocations: 1.314 MB / 1.058 GB, free: 131 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004745/1.044, allocations: 204 kB / 1.059 GB, free: 131 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00519/1.049, allocations: 2.787 MB / 1.061 GB, free: 130.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.547e-05/1.049, allocations: 14.97 kB / 1.061 GB, free: 130.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.952e-05/1.049, allocations: 6.609 kB / 1.061 GB, free: 130.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.925e-05/1.049, allocations: 6.922 kB / 1.061 GB, free: 130.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01379/1.063, allocations: 6.216 MB / 1.067 GB, free: 130.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.324e-05/1.063, allocations: 4.938 kB / 1.067 GB, free: 130.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001338/1.064, allocations: 232.8 kB / 1.068 GB, free: 130.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00235/1.066, allocations: 0.673 MB / 1.068 GB, free: 130.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001429/1.067, allocations: 34.91 kB / 1.068 GB, free: 130.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01403/1.081, allocations: 15.52 MB / 1.084 GB, free: 118.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.254e-05/1.081, allocations: 9.594 kB / 1.084 GB, free: 118.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006895/1.088, allocations: 4.008 MB / 1.087 GB, free: 116.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001278/1.089, allocations: 454 kB / 1.088 GB, free: 116.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002426/1.089, allocations: 35.81 kB / 1.088 GB, free: 116.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009612/1.09, allocations: 81.31 kB / 1.088 GB, free: 116.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004351/1.091, allocations: 118.2 kB / 1.088 GB, free: 116.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.973e-05/1.091, allocations: 43.47 kB / 1.088 GB, free: 116.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001434/1.092, allocations: 0.9914 MB / 1.089 GB, free: 115.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/1.092, allocations: 0 / 1.089 GB, free: 115.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002518/1.095, allocations: 0.6871 MB / 1.09 GB, free: 115.6 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006046/1.101, allocations: 4.608 MB / 1.094 GB, free: 113.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006244/1.107, allocations: 3.498 MB / 1.098 GB, free: 111.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.445e-05/1.107, allocations: 5.812 kB / 1.098 GB, free: 111.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003439/1.111, allocations: 2.289 MB / 1.1 GB, free: 109.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004251/1.115, allocations: 0.6128 MB / 1.101 GB, free: 109.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03312/1.148, allocations: 24.35 MB / 1.124 GB, free: 87.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002234/1.15, allocations: 2.664 MB / 1.127 GB, free: 84.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001742/1.152, allocations: 481.4 kB / 1.127 GB, free: 84.43 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001182/1.153, allocations: 1.284 MB / 1.129 GB, free: 83.14 MB / 0.698 GB Notification: Performance of SimCode: time 1.072e-06/1.153, allocations: 0 / 1.129 GB, free: 83.14 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08564/1.239, allocations: 54.24 MB / 1.182 GB, free: 29.58 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001611/1.239, allocations: 263 kB / 1.182 GB, free: 29.32 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.666/4.905, allocations: 0 / 1.182 GB, free: 29.32 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)