Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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_RL_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_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.001314/0.001314, allocations: 106.3 kB / 16.4 MB, free: 6.461 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.001355/0.001356, allocations: 195 kB / 17.34 MB, free: 5.715 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.41/1.41, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8356/0.8356, allocations: 126.7 MB / 417.9 MB, free: 12.26 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 69.39 kB / 0.5736 GB, free: 27.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.17, allocations: 78.87 MB / 0.6506 GB, free: 3.688 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02634/0.1964, allocations: 20.24 MB / 0.6703 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01251/0.209, allocations: 6.437 MB / 0.6766 GB, free: 8.922 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002816/0.2119, allocations: 87.56 kB / 0.6767 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.006898/0.2188, allocations: 2.244 MB / 0.6789 GB, free: 6.586 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004202/0.2231, allocations: 1.181 MB / 0.6801 GB, free: 5.398 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004071/0.2272, allocations: 1.282 MB / 0.6813 GB, free: 4.117 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007067/0.2342, allocations: 4.854 MB / 0.686 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009428/0.2437, allocations: 5.583 MB / 0.6915 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004252/0.248, allocations: 2.095 MB / 0.6935 GB, free: 7.5 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004531/0.2526, allocations: 2.336 MB / 0.6958 GB, free: 5.156 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001334/0.2539, allocations: 432 kB / 0.6962 GB, free: 4.734 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002833/0.2568, allocations: 1.003 MB / 0.6972 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.002701/0.2595, allocations: 1.676 MB / 0.6989 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.003789/0.2633, allocations: 1.906 MB / 0.7007 GB, free: 140 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.008936/0.2723, allocations: 6.534 MB / 0.7071 GB, free: 9.582 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.295e-06/0.2723, allocations: 4 kB / 0.7071 GB, free: 9.578 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2723, allocations: 0 / 0.7071 GB, free: 9.578 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001779/0.2725, allocations: 0 / 0.7071 GB, free: 9.578 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.008496/0.281, allocations: 3.529 MB / 0.7105 GB, free: 5.98 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.582e-05/0.2811, allocations: 12.02 kB / 0.7106 GB, free: 5.969 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009459/0.282, allocations: 454.6 kB / 0.711 GB, free: 5.512 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00369/0.2857, allocations: 0.6584 MB / 0.7116 GB, free: 4.852 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004257/0.29, allocations: 2.054 MB / 0.7136 GB, free: 2.738 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002042/0.2902, allocations: 226.3 kB / 0.7139 GB, free: 2.516 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008254/0.2911, allocations: 296.1 kB / 0.7141 GB, free: 2.227 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009683/0.3008, allocations: 4.882 MB / 0.7189 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-05/0.3009, allocations: 15.89 kB / 0.7189 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003714/0.3013, allocations: 132 kB / 0.719 GB, free: 13 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004892/0.3018, allocations: 225.7 kB / 0.7193 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007174/0.309, allocations: 3.75 MB / 0.7229 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02589/0.3349, allocations: 21.45 MB / 0.7439 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001937/0.3369, allocations: 1.304 MB / 0.7451 GB, free: 260 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2702/0.6071, allocations: 1.047 MB / 0.7462 GB, free: 86.61 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001081/0.6072, allocations: 14.89 kB / 0.7462 GB, free: 86.61 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.6073, allocations: 44.05 kB / 0.7462 GB, free: 86.57 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=107): time 2.955e-06/0.6073, allocations: 1 kB / 0.7462 GB, free: 86.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=138): time 0.02568/0.633, allocations: 8.698 MB / 0.7547 GB, free: 84.56 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.6331, allocations: 65.78 kB / 0.7548 GB, free: 84.49 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001666/0.6347, allocations: 1.132 MB / 0.7559 GB, free: 84.05 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001591/0.6349, allocations: 51.77 kB / 0.7559 GB, free: 84 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008499/0.6358, allocations: 1.334 MB / 0.7572 GB, free: 83.18 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000421/0.6362, allocations: 0.4912 MB / 0.7577 GB, free: 82.86 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004852/0.6367, allocations: 294 kB / 0.758 GB, free: 82.72 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.343e-05/0.6367, allocations: 310.7 kB / 0.7583 GB, free: 82.42 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001344/0.6381, allocations: 0.9126 MB / 0.7592 GB, free: 82.08 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001529/0.6396, allocations: 1.329 MB / 0.7605 GB, free: 81.24 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003035/0.6427, allocations: 2.429 MB / 0.7629 GB, free: 79.86 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.274e-05/0.6427, allocations: 4.5 kB / 0.7629 GB, free: 79.86 MB / 0.5762 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005792/0.6485, allocations: 3.476 MB / 0.7663 GB, free: 78.48 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.6485, allocations: 10.09 kB / 0.7663 GB, free: 78.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.975e-05/0.6486, allocations: 12.22 kB / 0.7663 GB, free: 78.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002979/0.6516, allocations: 1.176 MB / 0.7674 GB, free: 78.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008866/0.6525, allocations: 260.5 kB / 0.7677 GB, free: 78.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01341/0.6659, allocations: 13.85 MB / 0.7812 GB, free: 68.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/0.6673, allocations: 92.91 kB / 0.7813 GB, free: 68.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/0.6674, allocations: 61.62 kB / 0.7813 GB, free: 68.59 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * 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 {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001461/0.6688, allocations: 1.116 MB / 0.7824 GB, free: 67.88 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002922/0.6691, allocations: 174.4 kB / 0.7826 GB, free: 67.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004602/0.6738, allocations: 3.173 MB / 0.7857 GB, free: 65.55 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.6738, allocations: 15.94 kB / 0.7857 GB, free: 65.54 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/0.6738, allocations: 12 kB / 0.7857 GB, free: 65.53 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/0.6738, allocations: 15.62 kB / 0.7857 GB, free: 65.52 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00868/0.6825, allocations: 6.238 MB / 0.7918 GB, free: 59.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.424e-05/0.6826, allocations: 5.75 kB / 0.7918 GB, free: 59.16 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000539/0.6831, allocations: 151.8 kB / 0.792 GB, free: 59.01 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00247/0.6856, allocations: 1.071 MB / 0.793 GB, free: 57.93 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.446e-05/0.6857, allocations: 28 kB / 0.7931 GB, free: 57.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01233/0.698, allocations: 13.54 MB / 0.8063 GB, free: 43.97 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.798e-06/0.6981, allocations: 4 kB / 0.8063 GB, free: 43.97 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004274/0.7024, allocations: 3.167 MB / 0.8094 GB, free: 40.72 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006183/0.703, allocations: 435.9 kB / 0.8098 GB, free: 40.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001935/0.7032, allocations: 31.98 kB / 0.8098 GB, free: 40.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007513/0.704, allocations: 75.91 kB / 0.8099 GB, free: 40.17 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003213/0.7043, allocations: 128.7 kB / 0.81 GB, free: 40.04 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-05/0.7044, allocations: 40 kB / 0.8101 GB, free: 40 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008061/0.7052, allocations: 0.7671 MB / 0.8108 GB, free: 39.23 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.673e-06/0.7052, allocations: 0 / 0.8108 GB, free: 39.23 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001948/0.7071, allocations: 0.6645 MB / 0.8115 GB, free: 38.57 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * 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 {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004335/0.7115, allocations: 3.747 MB / 0.8151 GB, free: 34.73 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003968/0.7155, allocations: 3.149 MB / 0.8182 GB, free: 31.55 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.7155, allocations: 0 / 0.8182 GB, free: 31.55 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002353/0.7179, allocations: 1.969 MB / 0.8201 GB, free: 29.56 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002171/0.72, allocations: 0.4918 MB / 0.8206 GB, free: 29.11 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02395/0.744, allocations: 19.19 MB / 0.8393 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001726/0.7458, allocations: 2.336 MB / 0.8416 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008911/0.7467, allocations: 361.1 kB / 0.842 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008358/0.7475, allocations: 1.011 MB / 0.8429 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of SimCode: time 7.51e-07/0.7475, allocations: 3.938 kB / 0.8429 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1152/0.8628, allocations: 52.27 MB / 0.894 GB, free: 1.977 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.77/13.64, allocations: 14.39 kB / 0.894 GB, free: 1.965 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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_RL_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)