Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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_L_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_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.001472/0.001472, allocations: 111.3 kB / 16.41 MB, free: 6.496 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.001728/0.001728, 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.404/1.404, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7491/0.7491, allocations: 122.9 MB / 414.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 73.7 kB / 0.568 GB, free: 28.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.152, allocations: 77.92 MB / 0.6441 GB, free: 9.562 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03725/0.1892, allocations: 34.82 MB / 0.6781 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0197/0.209, allocations: 11.5 MB / 0.6893 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004002/0.213, allocations: 159.2 kB / 0.6895 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.01166/0.2247, allocations: 4.254 MB / 0.6936 GB, free: 6.68 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005813/0.2306, allocations: 2.092 MB / 0.6957 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.006189/0.2368, allocations: 2.399 MB / 0.698 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.009657/0.2465, allocations: 8.491 MB / 0.7063 GB, free: 9.668 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01696/0.2635, allocations: 11.13 MB / 0.7172 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00645/0.27, allocations: 3.802 MB / 0.7209 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006426/0.2764, allocations: 4.194 MB / 0.725 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.00246/0.2789, allocations: 0.7773 MB / 0.7257 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005054/0.284, allocations: 2.017 MB / 0.7277 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.004504/0.2885, allocations: 3.06 MB / 0.7307 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.006446/0.295, allocations: 3.4 MB / 0.734 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0153/0.3103, allocations: 12.01 MB / 0.7457 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.192e-05/0.3104, allocations: 0 / 0.7457 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.885e-06/0.3104, allocations: 0 / 0.7457 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0005509/0.311, allocations: 0 / 0.7457 GB, free: 1.074 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.3225/0.6335, allocations: 5.94 MB / 0.7515 GB, free: 89.15 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.736e-05/0.6335, allocations: 10.06 kB / 0.7515 GB, free: 89.15 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003566/0.6371, allocations: 0.8037 MB / 0.7523 GB, free: 88.73 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008719/0.6459, allocations: 1.089 MB / 0.7534 GB, free: 88.38 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01041/0.6563, allocations: 3.478 MB / 0.7568 GB, free: 86.72 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000486/0.6568, allocations: 413.8 kB / 0.7572 GB, free: 86.54 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002215/0.6591, allocations: 0.5313 MB / 0.7577 GB, free: 86.37 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02325/0.6823, allocations: 9.082 MB / 0.7666 GB, free: 82.39 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002583/0.6826, allocations: 38.66 kB / 0.7666 GB, free: 82.36 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001152/0.6838, allocations: 233.9 kB / 0.7668 GB, free: 82.2 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000353/0.6841, allocations: 353.3 kB / 0.7672 GB, free: 82.12 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01259/0.6967, allocations: 6.826 MB / 0.7738 GB, free: 78.61 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03541/0.7322, allocations: 39.86 MB / 0.8128 GB, free: 37.35 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003228/0.7355, allocations: 3.113 MB / 0.8158 GB, free: 34.09 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002102/0.7376, allocations: 1.981 MB / 0.8177 GB, free: 32.12 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.514e-05/0.7377, allocations: 18 kB / 0.8177 GB, free: 32.1 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.7377, allocations: 52.56 kB / 0.8178 GB, free: 32.04 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=179): time 4.388e-06/0.7377, allocations: 0 / 0.8178 GB, free: 32.04 MB / 0.5762 GB Notification: Performance of matching and sorting (n=182): time 0.02224/0.76, allocations: 10.05 MB / 0.8276 GB, free: 21.91 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.7601, allocations: 77.34 kB / 0.8277 GB, free: 21.82 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001656/0.7617, allocations: 1.53 MB / 0.8292 GB, free: 20.25 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002283/0.762, allocations: 53.7 kB / 0.8292 GB, free: 20.19 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009355/0.7629, allocations: 2.326 MB / 0.8315 GB, free: 17.85 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005376/0.7635, allocations: 0.6652 MB / 0.8322 GB, free: 17.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005348/0.764, allocations: 404.2 kB / 0.8325 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.48e-05/0.7641, allocations: 309.1 kB / 0.8328 GB, free: 16.49 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001391/0.7655, allocations: 1.176 MB / 0.834 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001737/0.7672, allocations: 1.885 MB / 0.8358 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003238/0.7705, allocations: 3.371 MB / 0.8391 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.247e-05/0.7705, allocations: 8 kB / 0.8391 GB, free: 9.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.006753/0.7773, allocations: 4.589 MB / 0.8436 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.034e-05/0.7773, allocations: 12 kB / 0.8436 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.247e-05/0.7774, allocations: 24.91 kB / 0.8436 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00342/0.7808, allocations: 1.586 MB / 0.8452 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/0.7821, allocations: 347.4 kB / 0.8455 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0231/0.8052, allocations: 18.6 MB / 0.8637 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001927/0.8072, allocations: 119.9 kB / 0.8638 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000313/0.8075, allocations: 92 kB / 0.8639 GB, free: 15.48 MB / 0.6075 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00325/0.8108, allocations: 1.894 MB / 0.8657 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006294/0.8114, allocations: 234.5 kB / 0.866 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007275/0.8187, allocations: 4.094 MB / 0.87 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.007e-05/0.8188, allocations: 19.94 kB / 0.87 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.48e-05/0.8188, allocations: 16 kB / 0.87 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.055e-05/0.8189, allocations: 15.97 kB / 0.87 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0181/0.837, allocations: 9.464 MB / 0.8793 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.029e-05/0.837, allocations: 7.984 kB / 0.8793 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009202/0.838, allocations: 183.7 kB / 0.8794 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003539/0.8415, allocations: 1.349 MB / 0.8808 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000309/0.8419, allocations: 36 kB / 0.8808 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02258/0.8645, allocations: 17.36 MB / 0.8977 GB, free: 12 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.8645, allocations: 8 kB / 0.8977 GB, free: 11.99 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00756/0.8721, allocations: 4.083 MB / 0.9017 GB, free: 7.812 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001566/0.8737, allocations: 0.5497 MB / 0.9023 GB, free: 7.246 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005079/0.8742, allocations: 36 kB / 0.9023 GB, free: 7.211 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001155/0.8754, allocations: 83.89 kB / 0.9024 GB, free: 7.129 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004739/0.8759, allocations: 161.7 kB / 0.9025 GB, free: 6.973 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001195/0.876, allocations: 48 kB / 0.9026 GB, free: 6.926 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001402/0.8774, allocations: 1.008 MB / 0.9036 GB, free: 5.895 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8774, allocations: 0 / 0.9036 GB, free: 5.895 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003536/0.881, allocations: 0.9844 MB / 0.9045 GB, free: 4.91 MB / 0.6387 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007449/0.8884, allocations: 4.676 MB / 0.9091 GB, free: 140 kB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.007567/0.896, allocations: 4.32 MB / 0.9133 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.151e-05/0.8961, allocations: 4 kB / 0.9133 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.005075/0.9012, allocations: 2.671 MB / 0.9159 GB, free: 9.051 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004693/0.9059, allocations: 0.7789 MB / 0.9167 GB, free: 8.309 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05541/0.9614, allocations: 26.98 MB / 0.943 GB, free: 12.25 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007184/0.9686, allocations: 3.573 MB / 0.9465 GB, free: 8.641 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001613/0.9703, allocations: 471.9 kB / 0.947 GB, free: 8.176 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002876/0.9732, allocations: 1.784 MB / 0.9487 GB, free: 6.391 MB / 0.6856 GB Notification: Performance of SimCode: time 1.553e-06/0.9732, allocations: 0 / 0.9487 GB, free: 6.391 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.133/1.106, allocations: 73.91 MB / 1.021 GB, free: 13.16 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.32/14.43, allocations: 6.328 kB / 1.021 GB, free: 13.16 MB / 0.7637 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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_L_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)