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.001152/0.001152, allocations: 105.5 kB / 16.41 MB, free: 6.469 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.001191/0.001191, allocations: 191.9 kB / 17.34 MB, free: 5.75 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.364/1.364, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7841/0.7841, allocations: 122.9 MB / 414.1 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 64.34 kB / 0.568 GB, free: 28.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1481, allocations: 77.92 MB / 0.6441 GB, free: 9.523 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02804/0.1762, allocations: 26.65 MB / 0.6701 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01522/0.1915, allocations: 8.079 MB / 0.678 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00445/0.196, allocations: 119.4 kB / 0.6781 GB, free: 6.57 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.007642/0.2037, allocations: 2.77 MB / 0.6808 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005006/0.2087, allocations: 1.664 MB / 0.6824 GB, free: 2.121 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004356/0.2131, allocations: 1.674 MB / 0.6841 GB, free: 460 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00854/0.2217, allocations: 6.15 MB / 0.6901 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009687/0.2314, allocations: 7.316 MB / 0.6972 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004635/0.2361, allocations: 2.617 MB / 0.6998 GB, free: 240 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005264/0.2413, allocations: 2.835 MB / 0.7025 GB, free: 13.39 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.002013/0.2434, allocations: 0.5117 MB / 0.703 GB, free: 12.88 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004075/0.2475, allocations: 1.276 MB / 0.7043 GB, free: 11.6 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.00412/0.2516, allocations: 2.058 MB / 0.7063 GB, free: 9.539 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.006477/0.2581, allocations: 2.381 MB / 0.7086 GB, free: 7.148 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01464/0.2728, allocations: 8.068 MB / 0.7165 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.128e-05/0.2729, allocations: 0 / 0.7165 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2729, allocations: 0 / 0.7165 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0003828/0.2733, allocations: 4 kB / 0.7165 GB, free: 15.05 MB / 0.5606 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.01258/0.2859, allocations: 4.343 MB / 0.7207 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.2859, allocations: 12.62 kB / 0.7208 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00157/0.2875, allocations: 0.5343 MB / 0.7213 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005171/0.2927, allocations: 0.8295 MB / 0.7221 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006025/0.2988, allocations: 2.586 MB / 0.7246 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002464/0.299, allocations: 271.6 kB / 0.7249 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001216/0.3003, allocations: 376.4 kB / 0.7252 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01274/0.313, allocations: 5.992 MB / 0.7311 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001665/0.3132, allocations: 19.83 kB / 0.7311 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009489/0.3142, allocations: 160 kB / 0.7313 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007294/0.3149, allocations: 282.8 kB / 0.7315 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009811/0.3248, allocations: 4.524 MB / 0.7359 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3514/0.6762, allocations: 27.48 MB / 0.7628 GB, free: 73.32 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001993/0.6782, allocations: 1.12 MB / 0.7639 GB, free: 72.89 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001676/0.6799, allocations: 1.019 MB / 0.7649 GB, free: 72.51 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.531e-05/0.68, allocations: 11.16 kB / 0.7649 GB, free: 72.51 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.6801, allocations: 53.36 kB / 0.7649 GB, free: 72.46 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=110): time 2.535e-06/0.6801, allocations: 0 / 0.7649 GB, free: 72.46 MB / 0.5762 GB Notification: Performance of matching and sorting (n=131): time 0.02245/0.7025, allocations: 9.712 MB / 0.7744 GB, free: 68.29 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.7026, allocations: 66.69 kB / 0.7745 GB, free: 68.23 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001839/0.7044, allocations: 1.5 MB / 0.7759 GB, free: 67.68 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001019/0.7045, allocations: 52.36 kB / 0.776 GB, free: 67.62 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007652/0.7053, allocations: 1.713 MB / 0.7777 GB, free: 66.55 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003076/0.7056, allocations: 495.3 kB / 0.7781 GB, free: 66.24 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004716/0.7061, allocations: 332.5 kB / 0.7785 GB, free: 66.08 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.323e-05/0.7062, allocations: 302.2 kB / 0.7787 GB, free: 65.79 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001195/0.7074, allocations: 0.9175 MB / 0.7796 GB, free: 65.39 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001251/0.7086, allocations: 1.467 MB / 0.7811 GB, free: 64.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002541/0.7112, allocations: 2.547 MB / 0.7836 GB, free: 62.39 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.264e-06/0.7112, allocations: 3.969 kB / 0.7836 GB, free: 62.39 MB / 0.5762 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.004765/0.716, allocations: 3.296 MB / 0.7868 GB, free: 60.59 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.716, allocations: 11.78 kB / 0.7868 GB, free: 60.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.686e-05/0.716, allocations: 15.72 kB / 0.7868 GB, free: 60.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002024/0.718, allocations: 0.7394 MB / 0.7875 GB, free: 60.19 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001514/0.7196, allocations: 383 kB / 0.7879 GB, free: 60.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01167/0.7313, allocations: 17.07 MB / 0.8046 GB, free: 44.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001776/0.7331, allocations: 101.1 kB / 0.8047 GB, free: 44.31 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002487/0.7333, allocations: 76.78 kB / 0.8047 GB, free: 44.3 MB / 0.5762 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.001968/0.7353, allocations: 1.31 MB / 0.806 GB, free: 43.48 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004388/0.7358, allocations: 214 kB / 0.8062 GB, free: 43.37 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004156/0.7399, allocations: 2.782 MB / 0.8089 GB, free: 41.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.7399, allocations: 19.92 kB / 0.809 GB, free: 41.18 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.918e-05/0.74, allocations: 8 kB / 0.809 GB, free: 41.18 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.74, allocations: 7.969 kB / 0.809 GB, free: 41.17 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009881/0.7499, allocations: 6.221 MB / 0.815 GB, free: 34.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.013e-05/0.7499, allocations: 5.031 kB / 0.815 GB, free: 34.81 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001113/0.751, allocations: 227.6 kB / 0.8153 GB, free: 34.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001807/0.7528, allocations: 0.6672 MB / 0.8159 GB, free: 33.89 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001061/0.753, allocations: 36 kB / 0.816 GB, free: 33.86 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01157/0.7645, allocations: 16.8 MB / 0.8324 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.7646, allocations: 7.938 kB / 0.8324 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005571/0.7702, allocations: 4.017 MB / 0.8363 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001024/0.7712, allocations: 459.7 kB / 0.8367 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004512/0.7717, allocations: 46.23 kB / 0.8368 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001164/0.7728, allocations: 79.89 kB / 0.8368 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002721/0.7731, allocations: 112.7 kB / 0.837 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.63e-05/0.7732, allocations: 44.94 kB / 0.837 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001243/0.7745, allocations: 0.9942 MB / 0.838 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.41e-07/0.7745, allocations: 0 / 0.838 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002304/0.7768, allocations: 0.6836 MB / 0.8386 GB, free: 9.262 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.005183/0.782, allocations: 4.618 MB / 0.8431 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004397/0.7864, allocations: 3.521 MB / 0.8466 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.7864, allocations: 4 kB / 0.8466 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003052/0.7895, allocations: 2.3 MB / 0.8488 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003359/0.7929, allocations: 0.6718 MB / 0.8495 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03462/0.8275, allocations: 21.27 MB / 0.8703 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003516/0.831, allocations: 2.66 MB / 0.8729 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001671/0.8327, allocations: 485.4 kB / 0.8733 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001678/0.8344, allocations: 1.28 MB / 0.8746 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of SimCode: time 1.173e-06/0.8344, allocations: 0 / 0.8746 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1147/0.9491, allocations: 57.19 MB / 0.9304 GB, free: 10.79 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.86/13.81, allocations: 7.938 kB / 0.9304 GB, free: 10.78 MB / 0.67 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)