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.001336/0.001336, allocations: 106.8 kB / 16.4 MB, free: 6.406 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.001194/0.001194, allocations: 193.2 kB / 17.34 MB, free: 5.695 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.396/1.396, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8068/0.8068, allocations: 126.7 MB / 417.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 61.36 kB / 0.5736 GB, free: 27.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1432, allocations: 78.87 MB / 0.6506 GB, free: 3.598 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04317/0.1864, allocations: 34.82 MB / 0.6846 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01981/0.2062, allocations: 11.5 MB / 0.6958 GB, free: 5.129 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002889/0.2091, allocations: 163.2 kB / 0.696 GB, free: 4.969 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.01063/0.2198, allocations: 4.242 MB / 0.7001 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00545/0.2253, allocations: 1.998 MB / 0.7021 GB, free: 14.71 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.006308/0.2316, allocations: 2.409 MB / 0.7044 GB, free: 12.3 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01163/0.2433, allocations: 8.467 MB / 0.7127 GB, free: 3.816 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01738/0.2607, allocations: 11.12 MB / 0.7235 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0061/0.2668, allocations: 3.751 MB / 0.7272 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006787/0.2737, allocations: 4.179 MB / 0.7313 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.002195/0.2759, allocations: 0.7813 MB / 0.732 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005604/0.2815, allocations: 2.028 MB / 0.734 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.005113/0.2867, allocations: 3.057 MB / 0.737 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.005693/0.2924, allocations: 3.396 MB / 0.7403 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.35/0.6425, allocations: 12.01 MB / 0.7521 GB, free: 34.21 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.081e-05/0.6425, allocations: 1.984 kB / 0.7521 GB, free: 34.21 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.076e-06/0.6425, allocations: 0 / 0.7521 GB, free: 34.21 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0005522/0.6431, allocations: 0 / 0.7521 GB, free: 34.21 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.02137/0.6645, allocations: 5.942 MB / 0.7579 GB, free: 31.96 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.6646, allocations: 10.47 kB / 0.7579 GB, free: 31.96 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003721/0.6683, allocations: 0.8073 MB / 0.7587 GB, free: 31.88 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009412/0.6777, allocations: 1.088 MB / 0.7597 GB, free: 31.56 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01015/0.6879, allocations: 3.47 MB / 0.7631 GB, free: 30.86 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008669/0.6888, allocations: 414.3 kB / 0.7635 GB, free: 30.85 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003739/0.6926, allocations: 0.5387 MB / 0.764 GB, free: 30.84 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02732/0.7199, allocations: 9.079 MB / 0.7729 GB, free: 29.82 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000322/0.7203, allocations: 38.8 kB / 0.7729 GB, free: 29.81 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00247/0.7228, allocations: 235.7 kB / 0.7732 GB, free: 29.81 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005053/0.7233, allocations: 346.3 kB / 0.7735 GB, free: 29.8 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01635/0.7396, allocations: 6.831 MB / 0.7802 GB, free: 29.75 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.041/0.7807, allocations: 39.85 MB / 0.8191 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003855/0.7846, allocations: 3.108 MB / 0.8221 GB, free: 8.598 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002679/0.7873, allocations: 1.982 MB / 0.824 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001124/0.7874, allocations: 17.62 kB / 0.8241 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.523e-05/0.7875, allocations: 52.38 kB / 0.8241 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=179): time 3.797e-06/0.7875, allocations: 0 / 0.8241 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of matching and sorting (n=182): time 0.02598/0.8135, allocations: 10.04 MB / 0.8339 GB, free: 1.062 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.906e-05/0.8136, allocations: 76.22 kB / 0.834 GB, free: 0.9805 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002313/0.8159, allocations: 1.531 MB / 0.8355 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002739/0.8162, allocations: 53.7 kB / 0.8355 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001719/0.8179, allocations: 2.327 MB / 0.8378 GB, free: 13 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007698/0.8187, allocations: 0.6584 MB / 0.8385 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006926/0.8194, allocations: 416.9 kB / 0.8389 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.8196, allocations: 309.1 kB / 0.8391 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001792/0.8214, allocations: 1.176 MB / 0.8403 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002439/0.8238, allocations: 1.883 MB / 0.8421 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004843/0.8287, allocations: 3.364 MB / 0.8454 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.016e-05/0.8287, allocations: 15.98 kB / 0.8454 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008475/0.8372, allocations: 4.584 MB / 0.8499 GB, free: 252 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.6e-05/0.8373, allocations: 20.22 kB / 0.8499 GB, free: 232 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.218e-05/0.8373, allocations: 20 kB / 0.85 GB, free: 212 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00398/0.8413, allocations: 1.582 MB / 0.8515 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001344/0.8427, allocations: 352 kB / 0.8518 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02554/0.8682, allocations: 18.6 MB / 0.87 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001943/0.8702, allocations: 115.9 kB / 0.8701 GB, free: 11.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002189/0.8704, allocations: 100 kB / 0.8702 GB, free: 11 MB / 0.6387 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.003196/0.8736, allocations: 1.898 MB / 0.8721 GB, free: 9.121 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005617/0.8742, allocations: 234.5 kB / 0.8723 GB, free: 8.891 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007533/0.8818, allocations: 4.093 MB / 0.8763 GB, free: 4.828 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.277e-05/0.8818, allocations: 23.98 kB / 0.8763 GB, free: 4.805 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.736e-05/0.8818, allocations: 16 kB / 0.8763 GB, free: 4.789 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.536e-05/0.8819, allocations: 7.969 kB / 0.8763 GB, free: 4.781 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01653/0.8984, allocations: 9.457 MB / 0.8856 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.23e-05/0.8985, allocations: 4 kB / 0.8856 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008711/0.8993, allocations: 181.4 kB / 0.8857 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003709/0.9031, allocations: 1.366 MB / 0.8871 GB, free: 9.664 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002045/0.9033, allocations: 35.98 kB / 0.8871 GB, free: 9.629 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02385/0.9271, allocations: 17.38 MB / 0.9041 GB, free: 7.738 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/0.9272, allocations: 4 kB / 0.9041 GB, free: 7.734 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007577/0.9348, allocations: 4.08 MB / 0.9081 GB, free: 3.621 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001356/0.9362, allocations: 0.5424 MB / 0.9086 GB, free: 3.059 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003336/0.9365, allocations: 36 kB / 0.9086 GB, free: 3.023 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009936/0.9375, allocations: 83.89 kB / 0.9087 GB, free: 2.941 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004953/0.938, allocations: 168.1 kB / 0.9089 GB, free: 2.785 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001136/0.9381, allocations: 44 kB / 0.9089 GB, free: 2.742 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00145/0.9396, allocations: 1.001 MB / 0.9099 GB, free: 1.719 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9396, allocations: 0 / 0.9099 GB, free: 1.719 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003094/0.9427, allocations: 0.9883 MB / 0.9108 GB, free: 0.7305 MB / 0.67 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.007479/0.9502, allocations: 4.678 MB / 0.9154 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.007524/0.9577, allocations: 4.318 MB / 0.9196 GB, free: 7.77 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.712e-06/0.9578, allocations: 0 / 0.9196 GB, free: 7.77 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.004706/0.9625, allocations: 2.675 MB / 0.9222 GB, free: 5.074 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003723/0.9662, allocations: 0.7807 MB / 0.923 GB, free: 4.336 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05021/1.016, allocations: 26.99 MB / 0.9494 GB, free: 8.512 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005032/1.022, allocations: 3.576 MB / 0.9529 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001419/1.023, allocations: 463.9 kB / 0.9533 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002281/1.025, allocations: 1.788 MB / 0.955 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of SimCode: time 7.72e-07/1.025, allocations: 0 / 0.955 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1477/1.173, allocations: 73.9 MB / 1.027 GB, free: 9.633 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.17/15.35, allocations: 11.31 kB / 1.027 GB, free: 9.625 MB / 0.795 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)