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.004686/0.004686, allocations: 100.8 kB / 15.87 MB, free: 6.32 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.001106/0.001106, allocations: 197.5 kB / 16.79 MB, free: 6.246 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.214/1.214, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6265/0.6265, allocations: 115.3 MB / 406 MB, free: 2.781 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001205, allocations: 67.77 kB / 493 MB, free: 6.699 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1304, allocations: 76.18 MB / 0.5559 GB, free: 10.72 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02713/0.1576, allocations: 26.42 MB / 0.5817 GB, free: 216 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.2558/0.4134, allocations: 8.041 MB / 0.5895 GB, free: 16.78 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003175/0.4166, allocations: 106.8 kB / 0.5896 GB, free: 16.78 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005714/0.4224, allocations: 2.578 MB / 0.5921 GB, free: 15.97 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003902/0.4263, allocations: 1.491 MB / 0.5936 GB, free: 15.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00387/0.4302, allocations: 1.527 MB / 0.5951 GB, free: 14.52 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.009924/0.4401, allocations: 8.699 MB / 0.6036 GB, free: 11.87 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01172/0.4519, allocations: 8.204 MB / 0.6116 GB, free: 8.816 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004049/0.456, allocations: 2.187 MB / 0.6137 GB, free: 7.727 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004407/0.4604, allocations: 2.887 MB / 0.6165 GB, free: 6.223 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001218/0.4616, allocations: 350.5 kB / 0.6169 GB, free: 6.223 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003505/0.4651, allocations: 1.32 MB / 0.6182 GB, free: 5.758 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002188/0.4673, allocations: 1.886 MB / 0.62 GB, free: 4.633 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003267/0.4706, allocations: 2.188 MB / 0.6221 GB, free: 3.172 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005966/0.4766, allocations: 7.924 MB / 0.6299 GB, free: 11.66 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.4766, allocations: 0 / 0.6299 GB, free: 11.66 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.4766, allocations: 0 / 0.6299 GB, free: 11.66 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001008/0.4767, allocations: 0 / 0.6299 GB, free: 11.66 MB / 462.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.006636/0.4834, allocations: 4.232 MB / 0.634 GB, free: 7.414 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.4834, allocations: 8.031 kB / 0.634 GB, free: 7.406 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006275/0.4841, allocations: 0.5396 MB / 0.6345 GB, free: 6.863 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00381/0.4879, allocations: 0.8021 MB / 0.6353 GB, free: 6.059 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00357/0.4915, allocations: 2.422 MB / 0.6377 GB, free: 3.617 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001629/0.4916, allocations: 277.9 kB / 0.638 GB, free: 3.352 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005775/0.4922, allocations: 379.3 kB / 0.6383 GB, free: 2.988 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008195/0.5004, allocations: 5.99 MB / 0.6442 GB, free: 12.76 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.631e-05/0.5005, allocations: 19.81 kB / 0.6442 GB, free: 12.74 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003268/0.5009, allocations: 158.8 kB / 0.6443 GB, free: 12.59 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005419/0.5014, allocations: 282.9 kB / 0.6446 GB, free: 12.32 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006448/0.5079, allocations: 4.52 MB / 0.649 GB, free: 7.789 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.023/0.5309, allocations: 27.66 MB / 0.676 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001386/0.5323, allocations: 1.122 MB / 0.6771 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001139/0.5334, allocations: 1.021 MB / 0.6781 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.599e-05/0.5335, allocations: 16.98 kB / 0.6781 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.5336, allocations: 47.56 kB / 0.6782 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=110): time 2.204e-06/0.5336, allocations: 0 / 0.6782 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of matching and sorting (n=131): time 0.01893/0.5525, allocations: 9.67 MB / 0.6876 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.5526, allocations: 64.72 kB / 0.6877 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001634/0.5542, allocations: 1.494 MB / 0.6892 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.525e-05/0.5543, allocations: 49.7 kB / 0.6892 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009031/0.5552, allocations: 1.667 MB / 0.6908 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000339/0.5555, allocations: 471.2 kB / 0.6913 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004631/0.556, allocations: 327.2 kB / 0.6916 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 7.977e-05/0.5561, allocations: 309.1 kB / 0.6919 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001165/0.5573, allocations: 0.9096 MB / 0.6928 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001452/0.5587, allocations: 1.467 MB / 0.6942 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002792/0.5615, allocations: 2.542 MB / 0.6967 GB, free: 3.871 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/0.5615, allocations: 4 kB / 0.6967 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005105/0.5667, allocations: 3.289 MB / 0.6999 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.5667, allocations: 12 kB / 0.6999 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/0.5667, allocations: 16 kB / 0.6999 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002165/0.5689, allocations: 0.7537 MB / 0.7007 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001365/0.5703, allocations: 383.3 kB / 0.701 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01328/0.5835, allocations: 15.77 MB / 0.7164 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001426/0.585, allocations: 95.91 kB / 0.7165 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/0.5851, allocations: 79.98 kB / 0.7166 GB, free: 14.21 MB / 0.545 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.001876/0.587, allocations: 1.309 MB / 0.7179 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003163/0.5873, allocations: 197.7 kB / 0.7181 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004464/0.5918, allocations: 2.792 MB / 0.7208 GB, free: 9.863 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.5918, allocations: 15.98 kB / 0.7208 GB, free: 9.848 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.5918, allocations: 8 kB / 0.7208 GB, free: 9.84 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.5918, allocations: 3.984 kB / 0.7208 GB, free: 9.836 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008471/0.6003, allocations: 6.221 MB / 0.7269 GB, free: 3.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.6003, allocations: 4 kB / 0.7269 GB, free: 3.477 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001055/0.6014, allocations: 231.6 kB / 0.7271 GB, free: 3.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001865/0.6033, allocations: 0.6679 MB / 0.7278 GB, free: 2.555 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.158e-05/0.6034, allocations: 39.98 kB / 0.7278 GB, free: 2.516 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01242/0.6158, allocations: 15.51 MB / 0.743 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.6158, allocations: 11.88 kB / 0.743 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005462/0.6213, allocations: 4 MB / 0.7469 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006935/0.622, allocations: 450.7 kB / 0.7473 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002221/0.6222, allocations: 35.89 kB / 0.7473 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007929/0.623, allocations: 91.89 kB / 0.7474 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002558/0.6233, allocations: 116.6 kB / 0.7475 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.106e-05/0.6234, allocations: 36 kB / 0.7476 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001144/0.6245, allocations: 0.9981 MB / 0.7486 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6245, allocations: 0 / 0.7486 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001826/0.6264, allocations: 0.6836 MB / 0.7492 GB, free: 11.27 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.005529/0.6319, allocations: 4.599 MB / 0.7537 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004795/0.6367, allocations: 3.51 MB / 0.7571 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.6367, allocations: 0 / 0.7571 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002894/0.6396, allocations: 2.296 MB / 0.7594 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002569/0.6422, allocations: 0.616 MB / 0.76 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0322/0.6744, allocations: 24.25 MB / 0.7837 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002234/0.6767, allocations: 2.664 MB / 0.7863 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001387/0.6781, allocations: 489.4 kB / 0.7867 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001262/0.6793, allocations: 1.28 MB / 0.788 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of SimCode: time 8.02e-07/0.6794, allocations: 0 / 0.788 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.731/5.41, allocations: 54.96 MB / 0.8417 GB, free: 209.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002318/5.41, allocations: 239.1 kB / 0.8419 GB, free: 209.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.321/9.731, allocations: 5.422 kB / 0.8419 GB, free: 209.1 MB / 0.6387 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)