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.00129/0.00129, allocations: 106.8 kB / 16.41 MB, free: 6.5 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.001208/0.001208, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7317/0.7317, allocations: 122.9 MB / 414.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 71.5 kB / 0.568 GB, free: 28.94 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1354, allocations: 77.93 MB / 0.6441 GB, free: 9.512 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04333/0.1788, allocations: 41.16 MB / 0.6843 GB, free: 216 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02387/0.2027, allocations: 15.09 MB / 0.699 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003954/0.2067, allocations: 187.1 kB / 0.6992 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.01121/0.218, allocations: 4.473 MB / 0.7036 GB, free: 12.41 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.008713/0.2267, allocations: 2.927 MB / 0.7064 GB, free: 9.473 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.01076/0.2375, allocations: 3.159 MB / 0.7095 GB, free: 6.312 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01724/0.2548, allocations: 11.43 MB / 0.7207 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01834/0.2732, allocations: 12.45 MB / 0.7328 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007979/0.2812, allocations: 4.904 MB / 0.7376 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01012/0.2913, allocations: 5.39 MB / 0.7429 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.003497/0.2949, allocations: 0.9531 MB / 0.7438 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008324/0.3032, allocations: 2.033 MB / 0.7458 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.3831/0.6864, allocations: 3.695 MB / 0.7494 GB, free: 30.68 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.01054/0.697, allocations: 4.293 MB / 0.7536 GB, free: 30.21 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02267/0.7197, allocations: 14.32 MB / 0.7676 GB, free: 28.79 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.7198, allocations: 0 / 0.7676 GB, free: 28.79 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.487e-06/0.7198, allocations: 0 / 0.7676 GB, free: 28.79 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0005299/0.7203, allocations: 4.875 kB / 0.7676 GB, free: 28.79 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.03052/0.7508, allocations: 7.78 MB / 0.7752 GB, free: 25.92 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.7509, allocations: 15.12 kB / 0.7752 GB, free: 25.91 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004158/0.7551, allocations: 0.8953 MB / 0.7761 GB, free: 25.84 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01308/0.7682, allocations: 1.555 MB / 0.7776 GB, free: 25.43 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0137/0.7819, allocations: 4.466 MB / 0.782 GB, free: 24.5 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003935/0.7823, allocations: 460.5 kB / 0.7824 GB, free: 24.49 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003346/0.7857, allocations: 0.5959 MB / 0.783 GB, free: 24.48 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03391/0.8196, allocations: 10.68 MB / 0.7934 GB, free: 20.44 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004088/0.8201, allocations: 33.92 kB / 0.7934 GB, free: 20.43 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004062/0.8241, allocations: 265.3 kB / 0.7937 GB, free: 20.25 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003206/0.8274, allocations: 0.7692 MB / 0.7944 GB, free: 19.98 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01934/0.8467, allocations: 8.56 MB / 0.8028 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07181/0.9186, allocations: 46.61 MB / 0.8483 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007258/0.9259, allocations: 4.317 MB / 0.8525 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006741/0.9327, allocations: 3.721 MB / 0.8562 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004729/0.9332, allocations: 42.69 kB / 0.8562 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.552e-05/0.9333, allocations: 77.34 kB / 0.8563 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=353): time 8.015e-06/0.9333, allocations: 0 / 0.8563 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of matching and sorting (n=578): time 0.5476/1.481, allocations: 122.9 MB / 0.9763 GB, free: 0.7734 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001221/1.481, allocations: 115.5 kB / 0.9764 GB, free: 0.6484 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005607/1.487, allocations: 2.686 MB / 0.979 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.001693/1.488, allocations: 121.7 kB / 0.9791 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.002691/1.491, allocations: 2.749 MB / 0.9818 GB, free: 11.08 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.00366/1.495, allocations: 2.05 MB / 0.9838 GB, free: 9.055 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004069/1.499, allocations: 0.9251 MB / 0.9847 GB, free: 8.121 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001116/1.499, allocations: 301.1 kB / 0.985 GB, free: 7.824 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00788/1.507, allocations: 4.083 MB / 0.989 GB, free: 3.734 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009015/1.516, allocations: 5.013 MB / 0.9939 GB, free: 14.41 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01717/1.533, allocations: 9.851 MB / 1.004 GB, free: 4.27 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.529e-05/1.533, allocations: 4 kB / 1.004 GB, free: 4.266 MB / 0.7637 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04678/1.58, allocations: 17.03 MB / 1.02 GB, free: 3.508 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.361e-05/1.58, allocations: 16 kB / 1.02 GB, free: 3.492 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.654e-05/1.58, allocations: 24 kB / 1.02 GB, free: 3.469 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03513/1.615, allocations: 9.082 MB / 1.029 GB, free: 10.35 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002945/1.618, allocations: 0.5219 MB / 1.03 GB, free: 9.859 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4457/2.064, allocations: 77.03 MB / 1.105 GB, free: 251.8 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005629/2.07, allocations: 283.5 kB / 1.105 GB, free: 251.6 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008927/2.071, allocations: 195.7 kB / 1.105 GB, free: 251.4 MB / 0.795 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.004572/2.075, allocations: 2.42 MB / 1.108 GB, free: 249.4 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001135/2.076, allocations: 494.5 kB / 1.108 GB, free: 249.1 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03337/2.11, allocations: 16.82 MB / 1.125 GB, free: 234.9 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.791e-05/2.11, allocations: 52 kB / 1.125 GB, free: 234.8 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002116/2.11, allocations: 72 kB / 1.125 GB, free: 234.8 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001118/2.11, allocations: 27.89 kB / 1.125 GB, free: 234.7 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04942/2.16, allocations: 25.66 MB / 1.15 GB, free: 208.8 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-05/2.16, allocations: 15 kB / 1.15 GB, free: 208.8 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002023/2.162, allocations: 319.5 kB / 1.15 GB, free: 208.5 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02607/2.188, allocations: 8.268 MB / 1.158 GB, free: 200.2 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009367/2.189, allocations: 111.9 kB / 1.158 GB, free: 200.1 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08348/2.272, allocations: 73.91 MB / 1.23 GB, free: 124.7 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-05/2.272, allocations: 13.5 kB / 1.23 GB, free: 124.7 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04019/2.313, allocations: 21.58 MB / 1.251 GB, free: 102.7 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004486/2.317, allocations: 1.392 MB / 1.253 GB, free: 101.3 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002091/2.319, allocations: 104 kB / 1.253 GB, free: 101.2 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004903/2.324, allocations: 291.6 kB / 1.253 GB, free: 100.9 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00234/2.326, allocations: 0.5182 MB / 1.254 GB, free: 100.4 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007671/2.327, allocations: 147.9 kB / 1.254 GB, free: 100.3 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.003177/2.33, allocations: 1.78 MB / 1.256 GB, free: 98.5 MB / 0.795 GB Notification: Performance of sort global known variables: time 4e-07/2.33, allocations: 4 kB / 1.256 GB, free: 98.49 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.01079/2.341, allocations: 2.463 MB / 1.258 GB, free: 96.03 MB / 0.795 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.04288/2.384, allocations: 22.29 MB / 1.28 GB, free: 73.38 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.02608/2.41, allocations: 14.58 MB / 1.294 GB, free: 58.61 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.348e-05/2.41, allocations: 5 kB / 1.294 GB, free: 58.6 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.01814/2.428, allocations: 9.393 MB / 1.303 GB, free: 49.06 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009672/2.438, allocations: 1.379 MB / 1.305 GB, free: 47.73 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5105/2.949, allocations: 70.38 MB / 1.373 GB, free: 265.2 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007356/2.956, allocations: 4.903 MB / 1.378 GB, free: 264.3 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.00272/2.959, allocations: 0.7345 MB / 1.379 GB, free: 264.3 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003685/2.963, allocations: 2.61 MB / 1.381 GB, free: 264.3 MB / 0.795 GB Notification: Performance of SimCode: time 7.92e-07/2.963, allocations: 0 / 1.381 GB, free: 264.3 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2761/3.239, allocations: 196.4 MB / 1.573 GB, free: 91.22 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.6/24.84, allocations: 11.8 kB / 1.573 GB, free: 91.21 MB / 0.795 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)