Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="IBPSA_latest_IBPSA_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 104.1 kB / 16.27 MB, free: 5.93 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.001248/0.001248, allocations: 190.5 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.198/1.198, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6782/0.6782, allocations: 122.9 MB / 413.9 MB, free: 15.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 67.89 kB / 0.4912 GB, free: 7.289 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.2848, allocations: 77.92 MB / 0.5673 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02322/0.3081, allocations: 26.64 MB / 0.5933 GB, free: 13.99 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01042/0.3186, allocations: 8.079 MB / 0.6012 GB, free: 7.562 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001494/0.3201, allocations: 115.7 kB / 0.6013 GB, free: 7.527 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004879/0.325, allocations: 2.754 MB / 0.604 GB, free: 5.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002878/0.3279, allocations: 1.593 MB / 0.6056 GB, free: 3.5 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002831/0.3308, allocations: 1.674 MB / 0.6072 GB, free: 1.832 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005309/0.3361, allocations: 6.128 MB / 0.6132 GB, free: 11.68 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008631/0.3447, allocations: 7.428 MB / 0.6204 GB, free: 4.191 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00351/0.3483, allocations: 2.563 MB / 0.6229 GB, free: 1.621 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004009/0.3523, allocations: 2.831 MB / 0.6257 GB, free: 14.78 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001191/0.3535, allocations: 0.5117 MB / 0.6262 GB, free: 14.27 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002834/0.3563, allocations: 1.283 MB / 0.6275 GB, free: 12.98 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001983/0.3583, allocations: 2.047 MB / 0.6295 GB, free: 10.93 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00243/0.3608, allocations: 2.381 MB / 0.6318 GB, free: 8.543 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006921/0.3677, allocations: 8.001 MB / 0.6396 GB, free: 0.5195 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.3677, allocations: 0 / 0.6396 GB, free: 0.5195 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3677, allocations: 3.938 kB / 0.6396 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001571/0.3679, allocations: 0 / 0.6396 GB, free: 0.5156 MB / 478.1 MB 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.007533/0.3754, allocations: 4.224 MB / 0.6437 GB, free: 12.23 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.3755, allocations: 8.625 kB / 0.6437 GB, free: 12.22 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006353/0.3761, allocations: 0.546 MB / 0.6443 GB, free: 11.66 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003817/0.38, allocations: 0.7961 MB / 0.645 GB, free: 10.86 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003733/0.3837, allocations: 2.424 MB / 0.6474 GB, free: 8.383 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001736/0.3839, allocations: 279.6 kB / 0.6477 GB, free: 8.109 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006177/0.3845, allocations: 380.3 kB / 0.648 GB, free: 7.738 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008079/0.3926, allocations: 5.992 MB / 0.6539 GB, free: 1.492 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.497e-05/0.3927, allocations: 19.78 kB / 0.6539 GB, free: 1.473 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003295/0.393, allocations: 156 kB / 0.6541 GB, free: 1.32 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005388/0.3936, allocations: 286.9 kB / 0.6543 GB, free: 1.039 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006077/0.3997, allocations: 4.524 MB / 0.6587 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02281/0.4225, allocations: 27.66 MB / 0.6858 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001428/0.4239, allocations: 1.115 MB / 0.6868 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001154/0.4251, allocations: 1.007 MB / 0.6878 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 6.493e-05/0.4252, allocations: 13 kB / 0.6878 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/0.4252, allocations: 47.5 kB / 0.6879 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=110): time 3.015e-06/0.4252, allocations: 4 kB / 0.6879 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of matching and sorting (n=131): time 0.01931/0.4445, allocations: 9.676 MB / 0.6973 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.4446, allocations: 64.72 kB / 0.6974 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001665/0.4463, allocations: 1.494 MB / 0.6989 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 8.892e-05/0.4464, allocations: 49.7 kB / 0.6989 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009295/0.4473, allocations: 1.663 MB / 0.7005 GB, free: 14.94 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003238/0.4476, allocations: 477.2 kB / 0.701 GB, free: 14.46 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004389/0.4481, allocations: 323.2 kB / 0.7013 GB, free: 14.14 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.887e-05/0.4482, allocations: 309 kB / 0.7016 GB, free: 13.84 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001173/0.4494, allocations: 0.9174 MB / 0.7025 GB, free: 12.92 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001471/0.4508, allocations: 1.467 MB / 0.7039 GB, free: 11.21 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002816/0.4537, allocations: 2.554 MB / 0.7064 GB, free: 8.418 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.4537, allocations: 4 kB / 0.7064 GB, free: 8.414 MB / 0.545 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005005/0.4587, allocations: 3.285 MB / 0.7096 GB, free: 5.09 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.4587, allocations: 16.97 kB / 0.7096 GB, free: 5.074 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-05/0.4587, allocations: 16 kB / 0.7097 GB, free: 5.059 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002034/0.4608, allocations: 0.7412 MB / 0.7104 GB, free: 4.289 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001373/0.4622, allocations: 383.4 kB / 0.7107 GB, free: 3.914 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01417/0.4763, allocations: 17.05 MB / 0.7274 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001097/0.4775, allocations: 104.1 kB / 0.7275 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/0.4776, allocations: 72 kB / 0.7276 GB, free: 1.422 MB / 0.5606 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.001587/0.4792, allocations: 1.309 MB / 0.7288 GB, free: 104 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002767/0.4795, allocations: 201.8 kB / 0.729 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004402/0.4839, allocations: 2.788 MB / 0.7318 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.495e-06/0.4839, allocations: 12 kB / 0.7318 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.4839, allocations: 8 kB / 0.7318 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.4839, allocations: 8.109 kB / 0.7318 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008552/0.4925, allocations: 6.217 MB / 0.7379 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.4925, allocations: 8 kB / 0.7379 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001071/0.4936, allocations: 235.6 kB / 0.7381 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001771/0.4953, allocations: 0.6752 MB / 0.7387 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-05/0.4954, allocations: 32 kB / 0.7388 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2119/0.7074, allocations: 16.79 MB / 0.7552 GB, free: 144.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.476e-06/0.7074, allocations: 6.469 kB / 0.7552 GB, free: 144.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006064/0.7135, allocations: 4.002 MB / 0.7591 GB, free: 142.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007513/0.7143, allocations: 452.9 kB / 0.7595 GB, free: 142.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002285/0.7145, allocations: 37.22 kB / 0.7596 GB, free: 142.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008514/0.7154, allocations: 85.42 kB / 0.7596 GB, free: 142.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002816/0.7156, allocations: 114.8 kB / 0.7598 GB, free: 142.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.773e-05/0.7157, allocations: 39.14 kB / 0.7598 GB, free: 142.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001184/0.7169, allocations: 0.9948 MB / 0.7608 GB, free: 141.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7169, allocations: 1.531 kB / 0.7608 GB, free: 141.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001896/0.7188, allocations: 0.6857 MB / 0.7614 GB, free: 141.7 MB / 0.5762 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.005349/0.7242, allocations: 4.603 MB / 0.7659 GB, free: 139.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005343/0.7295, allocations: 4.109 MB / 0.7699 GB, free: 137.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/0.7296, allocations: 2.344 kB / 0.7699 GB, free: 137.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002621/0.7322, allocations: 2.293 MB / 0.7722 GB, free: 136 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002582/0.7348, allocations: 0.6758 MB / 0.7728 GB, free: 135.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02334/0.7581, allocations: 22.73 MB / 0.795 GB, free: 120.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001822/0.76, allocations: 2.66 MB / 0.7976 GB, free: 117.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001338/0.7613, allocations: 493.8 kB / 0.7981 GB, free: 117.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001055/0.7624, allocations: 1.276 MB / 0.7993 GB, free: 115.9 MB / 0.5762 GB Notification: Performance of SimCode: time 7.91e-07/0.7624, allocations: 0 / 0.7993 GB, free: 115.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.863/2.625, allocations: 56.24 MB / 0.8543 GB, free: 60.41 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/15.03, allocations: 10.12 kB / 0.8543 GB, free: 60.41 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)