Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",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.001227/0.001227, allocations: 109 kB / 16.27 MB, free: 6.41 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.001198/0.001198, allocations: 186.2 kB / 17.2 MB, free: 5.953 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.263/1.263, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7275/0.7275, allocations: 122.8 MB / 413.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 67.89 kB / 0.4912 GB, free: 7.316 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2949, allocations: 77.91 MB / 0.5673 GB, free: 32.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.006418/0.3013, allocations: 6.131 MB / 0.5733 GB, free: 28.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004455/0.3058, allocations: 3.162 MB / 0.5764 GB, free: 26.49 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003542/0.3062, allocations: 31.12 kB / 0.5764 GB, free: 26.48 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002/0.3082, allocations: 0.9381 MB / 0.5773 GB, free: 25.91 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009485/0.3092, allocations: 469.4 kB / 0.5778 GB, free: 25.64 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.3102, allocations: 0.504 MB / 0.5783 GB, free: 25.4 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009348/0.3111, allocations: 1.107 MB / 0.5793 GB, free: 24.9 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007888/0.3119, allocations: 0.6368 MB / 0.58 GB, free: 24.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004532/0.3124, allocations: 433.7 kB / 0.5804 GB, free: 24.47 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005002/0.3129, allocations: 476 kB / 0.5808 GB, free: 24.27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.676e-05/0.313, allocations: 57.62 kB / 0.5809 GB, free: 24.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000758/0.3138, allocations: 492.6 kB / 0.5814 GB, free: 24.04 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002048/0.314, allocations: 285.4 kB / 0.5816 GB, free: 23.86 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002822/0.3143, allocations: 404.2 kB / 0.582 GB, free: 23.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008508/0.3151, allocations: 1.168 MB / 0.5832 GB, free: 22.8 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.3151, allocations: 1.375 kB / 0.5832 GB, free: 22.8 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3151, allocations: 1.469 kB / 0.5832 GB, free: 22.8 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.839e-06/0.3152, allocations: 0 / 0.5832 GB, free: 22.8 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001255/0.3164, allocations: 1.057 MB / 0.5842 GB, free: 21.95 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.3165, allocations: 9.906 kB / 0.5842 GB, free: 21.95 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001009/0.3166, allocations: 120.8 kB / 0.5843 GB, free: 21.85 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001376/0.318, allocations: 215.6 kB / 0.5845 GB, free: 21.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005802/0.3185, allocations: 0.5398 MB / 0.585 GB, free: 21.31 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.86e-05/0.3186, allocations: 53.73 kB / 0.5851 GB, free: 21.28 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.985e-05/0.3187, allocations: 67.02 kB / 0.5852 GB, free: 21.26 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.3197, allocations: 1.031 MB / 0.5862 GB, free: 20.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.477e-05/0.3198, allocations: 7.531 kB / 0.5862 GB, free: 20.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.971e-05/0.3198, allocations: 28.05 kB / 0.5862 GB, free: 20.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.521e-05/0.3199, allocations: 71.92 kB / 0.5863 GB, free: 20.46 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008615/0.3208, allocations: 0.6919 MB / 0.5869 GB, free: 20.11 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003393/0.3242, allocations: 5.757 MB / 0.5926 GB, free: 14.73 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006736/0.3249, allocations: 0.6092 MB / 0.5932 GB, free: 14.29 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006763/0.3256, allocations: 422.8 kB / 0.5936 GB, free: 14.09 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.248e-05/0.3256, allocations: 4.094 kB / 0.5936 GB, free: 14.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.333e-05/0.3256, allocations: 37.53 kB / 0.5936 GB, free: 14.05 MB / 446.1 MB Notification: Performance of pre-optimization done (n=41): time 1.914e-06/0.3256, allocations: 0 / 0.5936 GB, free: 14.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.003795/0.3294, allocations: 2.054 MB / 0.5956 GB, free: 12.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.189e-05/0.3295, allocations: 63.75 kB / 0.5957 GB, free: 12.63 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003618/0.3298, allocations: 466.4 kB / 0.5961 GB, free: 12.35 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/0.3299, allocations: 32.17 kB / 0.5961 GB, free: 12.32 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.33, allocations: 389.7 kB / 0.5965 GB, free: 11.97 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.604e-05/0.3301, allocations: 153.5 kB / 0.5967 GB, free: 11.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/0.3303, allocations: 108.4 kB / 0.5968 GB, free: 11.77 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.075e-05/0.3303, allocations: 368 kB / 0.5971 GB, free: 11.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002766/0.3306, allocations: 245.2 kB / 0.5974 GB, free: 11.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003175/0.3309, allocations: 461 kB / 0.5978 GB, free: 10.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006215/0.3316, allocations: 0.748 MB / 0.5985 GB, free: 9.812 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3316, allocations: 4 kB / 0.5985 GB, free: 9.809 MB / 446.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001451/0.333, allocations: 1.062 MB / 0.5996 GB, free: 8.727 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.333, allocations: 12.16 kB / 0.5996 GB, free: 8.715 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.3331, allocations: 8 kB / 0.5996 GB, free: 8.707 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008762/0.3339, allocations: 335.1 kB / 0.5999 GB, free: 8.367 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002631/0.3342, allocations: 95.83 kB / 0.6 GB, free: 8.273 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004814/0.339, allocations: 7.516 MB / 0.6073 GB, free: 196 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003698/0.3394, allocations: 32.02 kB / 0.6074 GB, free: 164 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.175e-05/0.3395, allocations: 24 kB / 0.6074 GB, free: 140 kB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002825/0.3398, allocations: 249.6 kB / 0.6076 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.594e-05/0.3398, allocations: 55.34 kB / 0.6077 GB, free: 15.82 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001607/0.3415, allocations: 0.9198 MB / 0.6086 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.3415, allocations: 11.92 kB / 0.6086 GB, free: 14.87 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.3415, allocations: 8 kB / 0.6086 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.3415, allocations: 3.984 kB / 0.6086 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002412/0.3439, allocations: 1.713 MB / 0.6103 GB, free: 13.06 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/0.3439, allocations: 0 / 0.6103 GB, free: 13.06 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/0.3441, allocations: 39.97 kB / 0.6103 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009135/0.345, allocations: 327.2 kB / 0.6106 GB, free: 12.69 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.015e-05/0.3451, allocations: 12.28 kB / 0.6106 GB, free: 12.68 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006242/0.3513, allocations: 7.501 MB / 0.618 GB, free: 4.613 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.3513, allocations: 3.938 kB / 0.618 GB, free: 4.609 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001607/0.3529, allocations: 1.011 MB / 0.619 GB, free: 3.551 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002216/0.3532, allocations: 176.4 kB / 0.6191 GB, free: 3.359 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.682e-05/0.3533, allocations: 8 kB / 0.6191 GB, free: 3.352 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002784/0.3535, allocations: 19.98 kB / 0.6191 GB, free: 3.332 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.612e-05/0.3536, allocations: 43.94 kB / 0.6192 GB, free: 3.289 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.58e-05/0.3537, allocations: 12 kB / 0.6192 GB, free: 3.277 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003144/0.354, allocations: 314.8 kB / 0.6195 GB, free: 2.973 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.743e-06/0.354, allocations: 0 / 0.6195 GB, free: 2.973 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007272/0.3547, allocations: 199.9 kB / 0.6197 GB, free: 2.777 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001744/0.3565, allocations: 1.568 MB / 0.6212 GB, free: 1.148 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00179/0.3583, allocations: 1.245 MB / 0.6224 GB, free: 15.85 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3583, allocations: 4 kB / 0.6224 GB, free: 15.85 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001068/0.3594, allocations: 0.8551 MB / 0.6233 GB, free: 14.94 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009272/0.3603, allocations: 210.7 kB / 0.6235 GB, free: 14.75 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007176/0.3675, allocations: 6.009 MB / 0.6293 GB, free: 8.41 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004839/0.368, allocations: 0.996 MB / 0.6303 GB, free: 7.387 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002673/0.3683, allocations: 97.19 kB / 0.6304 GB, free: 7.293 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002306/0.3685, allocations: 227.4 kB / 0.6306 GB, free: 7.07 MB / 478.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3685, allocations: 0 / 0.6306 GB, free: 7.07 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03796/0.4065, allocations: 15.28 MB / 0.6456 GB, free: 8.082 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.795/9.202, allocations: 13.12 kB / 0.6456 GB, free: 8.074 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_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_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)