Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_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.001196/0.001196, allocations: 103.2 kB / 15.98 MB, free: 6.352 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.001102/0.001102, allocations: 194.7 kB / 16.91 MB, free: 6.195 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.187/1.187, allocations: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6327/0.6327, allocations: 115.3 MB / 406.1 MB, free: 6.324 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001791/0.001791, allocations: 63.91 kB / 493.2 MB, free: 0.5547 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2933, allocations: 76.17 MB / 0.556 GB, free: 36.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.005701/0.299, allocations: 5.532 MB / 0.5614 GB, free: 32.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003457/0.3025, allocations: 2.629 MB / 0.564 GB, free: 30.8 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004832/0.303, allocations: 24.94 kB / 0.564 GB, free: 30.79 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001517/0.3045, allocations: 0.6357 MB / 0.5646 GB, free: 30.42 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009255/0.3055, allocations: 383.8 kB / 0.565 GB, free: 30.2 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008953/0.3064, allocations: 372 kB / 0.5654 GB, free: 30.02 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00106/0.3074, allocations: 0.957 MB / 0.5663 GB, free: 29.59 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006988/0.3081, allocations: 0.5193 MB / 0.5668 GB, free: 29.38 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005526/0.3087, allocations: 370.5 kB / 0.5672 GB, free: 29.23 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005758/0.3093, allocations: 426 kB / 0.5676 GB, free: 29.05 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001187/0.3094, allocations: 48.38 kB / 0.5676 GB, free: 29.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006649/0.3101, allocations: 363.2 kB / 0.568 GB, free: 28.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002703/0.3104, allocations: 247.4 kB / 0.5682 GB, free: 28.83 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003804/0.3108, allocations: 356 kB / 0.5685 GB, free: 28.62 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00107/0.3118, allocations: 0.9821 MB / 0.5695 GB, free: 28.29 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.3118, allocations: 1.969 kB / 0.5695 GB, free: 28.29 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3118, allocations: 0 / 0.5695 GB, free: 28.29 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.3119, allocations: 0 / 0.5695 GB, free: 28.29 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001265/0.3131, allocations: 0.9861 MB / 0.5705 GB, free: 27.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.3132, allocations: 9.281 kB / 0.5705 GB, free: 27.57 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.515e-05/0.3133, allocations: 96.83 kB / 0.5706 GB, free: 27.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001262/0.3145, allocations: 194.6 kB / 0.5707 GB, free: 27.46 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000568/0.3151, allocations: 489.8 kB / 0.5712 GB, free: 27.12 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.9e-05/0.3152, allocations: 45.95 kB / 0.5713 GB, free: 27.1 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/0.3153, allocations: 56.8 kB / 0.5713 GB, free: 27.08 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.3163, allocations: 0.8265 MB / 0.5721 GB, free: 26.61 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.372e-05/0.3164, allocations: 11.03 kB / 0.5721 GB, free: 26.6 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.447e-05/0.3164, allocations: 23.98 kB / 0.5722 GB, free: 26.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001755/0.3166, allocations: 67.16 kB / 0.5722 GB, free: 26.58 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007384/0.3173, allocations: 0.5706 MB / 0.5728 GB, free: 26.38 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003216/0.3206, allocations: 4.585 MB / 0.5773 GB, free: 22.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004148/0.321, allocations: 302.6 kB / 0.5775 GB, free: 22.37 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002811/0.3213, allocations: 223.6 kB / 0.5778 GB, free: 22.28 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.22e-05/0.3213, allocations: 9.078 kB / 0.5778 GB, free: 22.28 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/0.3214, allocations: 37.09 kB / 0.5778 GB, free: 22.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 1.452e-06/0.3214, allocations: 1.531 kB / 0.5778 GB, free: 22.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.004803/0.3262, allocations: 2.632 MB / 0.5804 GB, free: 20.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.938e-05/0.3262, allocations: 57.28 kB / 0.5804 GB, free: 20.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003992/0.3266, allocations: 466.3 kB / 0.5809 GB, free: 20.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.04e-05/0.3266, allocations: 31.08 kB / 0.5809 GB, free: 20.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.3268, allocations: 342.3 kB / 0.5812 GB, free: 20.26 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.075e-05/0.3269, allocations: 149.5 kB / 0.5814 GB, free: 20.15 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/0.327, allocations: 101.4 kB / 0.5815 GB, free: 20.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.965e-05/0.3271, allocations: 364.7 kB / 0.5818 GB, free: 19.76 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003174/0.3274, allocations: 239 kB / 0.582 GB, free: 19.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003707/0.3278, allocations: 409.9 kB / 0.5824 GB, free: 19.38 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006794/0.3285, allocations: 0.6714 MB / 0.5831 GB, free: 18.95 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.3285, allocations: 5.906 kB / 0.5831 GB, free: 18.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001434/0.3299, allocations: 0.919 MB / 0.584 GB, free: 18.56 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.33, allocations: 7.797 kB / 0.584 GB, free: 18.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.33, allocations: 6.531 kB / 0.584 GB, free: 18.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007232/0.3307, allocations: 228.2 kB / 0.5842 GB, free: 18.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004576/0.3312, allocations: 111.3 kB / 0.5843 GB, free: 18.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003693/0.3349, allocations: 5.346 MB / 0.5895 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00038/0.3353, allocations: 29.41 kB / 0.5896 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.946e-05/0.3353, allocations: 22.84 kB / 0.5896 GB, free: 13.8 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0002269/0.3355, allocations: 225.9 kB / 0.5898 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.272e-05/0.3356, allocations: 65.42 kB / 0.5899 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001329/0.337, allocations: 0.77 MB / 0.5906 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.337, allocations: 3.938 kB / 0.5906 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.337, allocations: 7.047 kB / 0.5906 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.337, allocations: 4 kB / 0.5906 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001934/0.339, allocations: 1.5 MB / 0.5921 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.339, allocations: 1.188 kB / 0.5921 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003413/0.3393, allocations: 73.5 kB / 0.5922 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005966/0.3399, allocations: 214.2 kB / 0.5924 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.013e-05/0.34, allocations: 12.81 kB / 0.5924 GB, free: 12.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003283/0.3432, allocations: 5.267 MB / 0.5975 GB, free: 7.082 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3433, allocations: 5.219 kB / 0.5975 GB, free: 7.078 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001453/0.3447, allocations: 1.135 MB / 0.5987 GB, free: 6.355 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001639/0.3449, allocations: 177.9 kB / 0.5988 GB, free: 6.195 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.052e-05/0.345, allocations: 13.48 kB / 0.5988 GB, free: 6.188 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003083/0.3453, allocations: 22.72 kB / 0.5989 GB, free: 6.176 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.79e-05/0.3454, allocations: 43.98 kB / 0.5989 GB, free: 6.148 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.492e-05/0.3454, allocations: 9.906 kB / 0.5989 GB, free: 6.148 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000276/0.3457, allocations: 312.4 kB / 0.5992 GB, free: 5.961 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3457, allocations: 1.219 kB / 0.5992 GB, free: 5.961 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006166/0.3463, allocations: 170 kB / 0.5994 GB, free: 5.941 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,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.001591/0.3479, allocations: 1.7 MB / 0.601 GB, free: 4.535 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001233/0.3492, allocations: 1.051 MB / 0.6021 GB, free: 3.445 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3492, allocations: 0 / 0.6021 GB, free: 3.445 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006832/0.3499, allocations: 0.6877 MB / 0.6027 GB, free: 2.719 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007517/0.3506, allocations: 180.9 kB / 0.6029 GB, free: 2.555 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006683/0.3573, allocations: 5.942 MB / 0.6087 GB, free: 12.32 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004772/0.3578, allocations: 0.9494 MB / 0.6096 GB, free: 11.35 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003512/0.3582, allocations: 121 kB / 0.6097 GB, free: 11.23 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002349/0.3584, allocations: 211.4 kB / 0.6099 GB, free: 11.02 MB / 462.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3584, allocations: 0 / 0.6099 GB, free: 11.02 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.033/1.391, allocations: 13.98 MB / 0.6236 GB, free: 13.38 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002101/1.391, allocations: 238.4 kB / 0.6238 GB, free: 13.12 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.936/3.328, allocations: 3.938 kB / 0.6238 GB, free: 13.12 MB / 478.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)