Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.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_RLC_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",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.002015/0.002015, allocations: 103.5 kB / 16.39 MB, free: 6.336 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.002229/0.00223, allocations: 191.6 kB / 17.33 MB, free: 5.816 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.475/1.475, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8249/0.8249, allocations: 126.7 MB / 417.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002163/0.002163, allocations: 65.42 kB / 0.5735 GB, free: 27.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1616, allocations: 78.86 MB / 0.6506 GB, free: 3.598 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04989/0.2115, allocations: 41.17 MB / 0.6908 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0268/0.2383, allocations: 15.1 MB / 0.7055 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004609/0.243, allocations: 195 kB / 0.7057 GB, free: 10.95 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.01241/0.2554, allocations: 4.447 MB / 0.71 GB, free: 6.496 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.009193/0.2646, allocations: 2.794 MB / 0.7128 GB, free: 3.688 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.01027/0.275, allocations: 3.158 MB / 0.7159 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01763/0.2926, allocations: 11.4 MB / 0.727 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02147/0.3141, allocations: 12.45 MB / 0.7391 GB, free: 8.512 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009359/0.3235, allocations: 4.822 MB / 0.7439 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3871/0.7106, allocations: 5.381 MB / 0.7491 GB, free: 26.14 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.004528/0.7152, allocations: 0.9519 MB / 0.75 GB, free: 26.14 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008651/0.7239, allocations: 2.039 MB / 0.752 GB, free: 26.14 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.008315/0.7322, allocations: 3.692 MB / 0.7556 GB, free: 26.14 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.01516/0.7474, allocations: 4.295 MB / 0.7598 GB, free: 25.77 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02415/0.7716, allocations: 14.32 MB / 0.7738 GB, free: 24.35 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.7717, allocations: 2.938 kB / 0.7738 GB, free: 24.35 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7717, allocations: 0 / 0.7738 GB, free: 24.35 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0004803/0.7722, allocations: 1.406 kB / 0.7738 GB, free: 24.35 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.02874/0.8009, allocations: 7.794 MB / 0.7814 GB, free: 21.15 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.801, allocations: 9.562 kB / 0.7814 GB, free: 21.15 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003982/0.805, allocations: 0.895 MB / 0.7823 GB, free: 20.92 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01263/0.8176, allocations: 1.554 MB / 0.7838 GB, free: 20.22 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01098/0.8286, allocations: 4.468 MB / 0.7882 GB, free: 18.59 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005222/0.8292, allocations: 455.4 kB / 0.7886 GB, free: 18.58 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004328/0.8335, allocations: 0.5951 MB / 0.7892 GB, free: 18.57 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02909/0.8626, allocations: 10.69 MB / 0.7996 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003112/0.863, allocations: 34.02 kB / 0.7997 GB, free: 13 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002685/0.8657, allocations: 262.4 kB / 0.7999 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002853/0.8685, allocations: 0.7726 MB / 0.8007 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01847/0.887, allocations: 8.558 MB / 0.809 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06915/0.9562, allocations: 46.61 MB / 0.8546 GB, free: 8.941 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007125/0.9634, allocations: 4.312 MB / 0.8588 GB, free: 4.629 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006403/0.9698, allocations: 3.721 MB / 0.8624 GB, free: 0.9102 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003493/0.9702, allocations: 34.78 kB / 0.8624 GB, free: 0.875 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.687e-05/0.9703, allocations: 77.34 kB / 0.8625 GB, free: 0.7891 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=353): time 7.133e-06/0.9703, allocations: 0 / 0.8625 GB, free: 0.7891 MB / 0.6231 GB Notification: Performance of matching and sorting (n=578): time 0.5496/1.52, allocations: 122.9 MB / 0.9825 GB, free: 5.512 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/1.52, allocations: 111.9 kB / 0.9826 GB, free: 5.387 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004352/1.524, allocations: 2.685 MB / 0.9853 GB, free: 2.703 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.001394/1.526, allocations: 121.7 kB / 0.9854 GB, free: 2.578 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.002337/1.528, allocations: 2.75 MB / 0.9881 GB, free: 15.81 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.003129/1.531, allocations: 2.051 MB / 0.9901 GB, free: 13.79 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002487/1.534, allocations: 0.929 MB / 0.991 GB, free: 12.85 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001306/1.534, allocations: 305.1 kB / 0.9913 GB, free: 12.55 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00707/1.541, allocations: 4.075 MB / 0.9952 GB, free: 8.465 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008576/1.55, allocations: 5.018 MB / 1 GB, free: 3.137 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0179/1.568, allocations: 9.84 MB / 1.01 GB, free: 9.008 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-05/1.568, allocations: 8 kB / 1.01 GB, free: 9 MB / 0.7794 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04536/1.613, allocations: 17.02 MB / 1.026 GB, free: 8.238 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.473e-05/1.613, allocations: 14.03 kB / 1.026 GB, free: 8.227 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.952e-05/1.613, allocations: 24 kB / 1.026 GB, free: 8.203 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0333/1.646, allocations: 9.087 MB / 1.035 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002845/1.649, allocations: 0.5258 MB / 1.036 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4706/2.12, allocations: 77.03 MB / 1.111 GB, free: 261.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005709/2.126, allocations: 280.7 kB / 1.111 GB, free: 261.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008588/2.127, allocations: 192.4 kB / 1.111 GB, free: 261.5 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004657/2.131, allocations: 2.43 MB / 1.114 GB, free: 260.4 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001135/2.132, allocations: 495.4 kB / 1.114 GB, free: 260.4 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03563/2.168, allocations: 16.82 MB / 1.131 GB, free: 248 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.313e-05/2.168, allocations: 56 kB / 1.131 GB, free: 248 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001775/2.168, allocations: 69.75 kB / 1.131 GB, free: 247.9 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.443e-05/2.168, allocations: 32.69 kB / 1.131 GB, free: 247.9 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04883/2.217, allocations: 25.66 MB / 1.156 GB, free: 224 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.839e-05/2.217, allocations: 4.938 kB / 1.156 GB, free: 224 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001939/2.219, allocations: 319.5 kB / 1.156 GB, free: 223.6 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02755/2.247, allocations: 8.273 MB / 1.164 GB, free: 215.3 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001504/2.248, allocations: 104 kB / 1.164 GB, free: 215.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08628/2.335, allocations: 73.91 MB / 1.237 GB, free: 139.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.643e-06/2.335, allocations: 11.94 kB / 1.237 GB, free: 139.8 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0466/2.381, allocations: 21.59 MB / 1.258 GB, free: 117.8 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003686/2.385, allocations: 1.384 MB / 1.259 GB, free: 116.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001746/2.387, allocations: 110.8 kB / 1.259 GB, free: 116.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004397/2.391, allocations: 287.6 kB / 1.259 GB, free: 116.1 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002285/2.394, allocations: 0.5268 MB / 1.26 GB, free: 115.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000664/2.394, allocations: 144 kB / 1.26 GB, free: 115.4 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002406/2.397, allocations: 1.776 MB / 1.262 GB, free: 113.6 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.71e-07/2.397, allocations: 0 / 1.262 GB, free: 113.6 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00915/2.406, allocations: 2.461 MB / 1.264 GB, free: 111.2 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.04175/2.448, allocations: 22.29 MB / 1.286 GB, free: 88.5 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.02632/2.474, allocations: 14.58 MB / 1.3 GB, free: 73.74 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.197e-05/2.474, allocations: 8.125 kB / 1.3 GB, free: 73.73 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.01833/2.492, allocations: 9.397 MB / 1.309 GB, free: 64.19 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008263/2.501, allocations: 1.37 MB / 1.311 GB, free: 62.87 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4988/2.999, allocations: 70.39 MB / 1.38 GB, free: 270 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01078/3.01, allocations: 4.895 MB / 1.384 GB, free: 269.1 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.003013/3.013, allocations: 0.735 MB / 1.385 GB, free: 269.1 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003087/3.016, allocations: 2.611 MB / 1.388 GB, free: 269.1 MB / 0.8106 GB Notification: Performance of SimCode: time 1.232e-06/3.016, allocations: 2.156 kB / 1.388 GB, free: 269.1 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.327/3.343, allocations: 196.4 MB / 1.579 GB, free: 111.5 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.08/25.42, allocations: 0 / 1.579 GB, free: 111.5 MB / 0.8106 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_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_RLC_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)