Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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_R_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_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.001717/0.001717, allocations: 109.2 kB / 16.41 MB, free: 6.402 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.002006/0.002006, allocations: 193.2 kB / 17.34 MB, free: 5.691 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.449/1.449, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8371/0.8371, allocations: 126.7 MB / 417.9 MB, free: 12.26 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002783/0.002783, allocations: 64.69 kB / 0.5736 GB, free: 27.24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.1907, allocations: 78.87 MB / 0.6506 GB, free: 3.695 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04801/0.2387, allocations: 37.94 MB / 0.6876 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02312/0.2619, allocations: 11 MB / 0.6984 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005522/0.2675, allocations: 159.2 kB / 0.6985 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.01389/0.2815, allocations: 4.35 MB / 0.7028 GB, free: 14.09 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.007915/0.2894, allocations: 2.223 MB / 0.7049 GB, free: 11.85 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.007972/0.2974, allocations: 2.168 MB / 0.707 GB, free: 9.688 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01352/0.3109, allocations: 9.284 MB / 0.7161 GB, free: 388 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02054/0.3315, allocations: 11.27 MB / 0.7271 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008165/0.3397, allocations: 4 MB / 0.731 GB, free: 0.9805 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008542/0.3483, allocations: 4.506 MB / 0.7354 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.003196/0.3515, allocations: 0.8242 MB / 0.7362 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005482/0.357, allocations: 1.588 MB / 0.7378 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.006031/0.3631, allocations: 3.15 MB / 0.7409 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.009226/0.3724, allocations: 3.653 MB / 0.7444 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.3882/0.7606, allocations: 12.34 MB / 0.7565 GB, free: 34.63 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/0.7606, allocations: 0 / 0.7565 GB, free: 34.63 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.004e-06/0.7606, allocations: 1.594 kB / 0.7565 GB, free: 34.63 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0006058/0.7612, allocations: 0 / 0.7565 GB, free: 34.63 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02598/0.7872, allocations: 6.476 MB / 0.7628 GB, free: 32.24 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.7873, allocations: 10.75 kB / 0.7628 GB, free: 32.24 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003887/0.7912, allocations: 0.8241 MB / 0.7636 GB, free: 32.16 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008377/0.7996, allocations: 1.1 MB / 0.7647 GB, free: 31.82 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009706/0.8093, allocations: 3.626 MB / 0.7682 GB, free: 31.07 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005106/0.8098, allocations: 422.4 kB / 0.7686 GB, free: 31.06 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003419/0.8133, allocations: 0.5462 MB / 0.7692 GB, free: 31.05 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02511/0.8384, allocations: 9.383 MB / 0.7783 GB, free: 29.98 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002244/0.8387, allocations: 18.56 kB / 0.7783 GB, free: 29.98 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00234/0.841, allocations: 249 kB / 0.7786 GB, free: 29.98 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006349/0.8416, allocations: 421 kB / 0.779 GB, free: 29.97 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01734/0.859, allocations: 7.125 MB / 0.7859 GB, free: 28.64 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05246/0.9115, allocations: 41.07 MB / 0.8261 GB, free: 7.211 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004999/0.9165, allocations: 3.11 MB / 0.8291 GB, free: 5.621 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003398/0.92, allocations: 2.148 MB / 0.8312 GB, free: 4.496 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001787/0.9202, allocations: 21.97 kB / 0.8312 GB, free: 4.496 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.884e-05/0.9202, allocations: 65.73 kB / 0.8313 GB, free: 4.434 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=209): time 5.33e-06/0.9203, allocations: 0 / 0.8313 GB, free: 4.434 MB / 0.5919 GB Notification: Performance of matching and sorting (n=212): time 0.02906/0.9493, allocations: 10.63 MB / 0.8417 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.402e-05/0.9494, allocations: 77.41 kB / 0.8417 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0038/0.9532, allocations: 1.998 MB / 0.8437 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0005413/0.9538, allocations: 61.7 kB / 0.8437 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.002103/0.9559, allocations: 2.478 MB / 0.8462 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001266/0.9572, allocations: 0.772 MB / 0.8469 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001478/0.9587, allocations: 477.5 kB / 0.8474 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.9588, allocations: 305.1 kB / 0.8477 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002464/0.9613, allocations: 1.372 MB / 0.849 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003888/0.9652, allocations: 2.109 MB / 0.8511 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007389/0.9727, allocations: 3.772 MB / 0.8547 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.281e-05/0.9727, allocations: 5.594 kB / 0.8547 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.01197/0.9847, allocations: 5.078 MB / 0.8597 GB, free: 8.414 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.332e-05/0.9848, allocations: 17.88 kB / 0.8597 GB, free: 8.398 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.67e-05/0.9849, allocations: 20 kB / 0.8597 GB, free: 8.379 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00435/0.9892, allocations: 1.591 MB / 0.8613 GB, free: 6.785 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002117/0.9914, allocations: 452 kB / 0.8617 GB, free: 6.371 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02762/1.019, allocations: 18.6 MB / 0.8799 GB, free: 3.285 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004323/1.023, allocations: 143.9 kB / 0.88 GB, free: 3.145 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008704/1.024, allocations: 114.1 kB / 0.8801 GB, free: 3.035 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005625/1.03, allocations: 1.936 MB / 0.882 GB, free: 1.117 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001229/1.031, allocations: 302.2 kB / 0.8823 GB, free: 0.8203 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009552/1.041, allocations: 4.453 MB / 0.8867 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.52e-05/1.041, allocations: 20 kB / 0.8867 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.057e-05/1.041, allocations: 16 kB / 0.8867 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.525e-05/1.041, allocations: 11.95 kB / 0.8867 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02525/1.066, allocations: 9.67 MB / 0.8961 GB, free: 2.668 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.058e-05/1.066, allocations: 12.09 kB / 0.8962 GB, free: 2.656 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001311/1.068, allocations: 233.3 kB / 0.8964 GB, free: 2.441 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004108/1.072, allocations: 1.423 MB / 0.8978 GB, free: 1.008 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004522/1.072, allocations: 40 kB / 0.8978 GB, free: 0.9688 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02815/1.1, allocations: 18.59 MB / 0.916 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-05/1.1, allocations: 11.5 kB / 0.916 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009592/1.11, allocations: 4.559 MB / 0.9204 GB, free: 9.297 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002279/1.112, allocations: 0.6477 MB / 0.9211 GB, free: 8.629 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00126/1.114, allocations: 44 kB / 0.9211 GB, free: 8.586 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002434/1.116, allocations: 115.8 kB / 0.9212 GB, free: 8.473 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007846/1.117, allocations: 180.5 kB / 0.9214 GB, free: 8.297 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002868/1.117, allocations: 56 kB / 0.9214 GB, free: 8.242 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002977/1.12, allocations: 1.326 MB / 0.9227 GB, free: 6.91 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.3e-07/1.12, allocations: 0 / 0.9227 GB, free: 6.91 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.006395/1.127, allocations: 1.141 MB / 0.9238 GB, free: 5.77 MB / 0.6856 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009611/1.136, allocations: 5.174 MB / 0.9289 GB, free: 0.5703 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.008964/1.145, allocations: 4.719 MB / 0.9335 GB, free: 11.92 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.189e-05/1.145, allocations: 0 / 0.9335 GB, free: 11.92 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0059/1.151, allocations: 2.935 MB / 0.9364 GB, free: 8.973 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006423/1.158, allocations: 0.8866 MB / 0.9372 GB, free: 8.109 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0726/1.23, allocations: 30.54 MB / 0.9671 GB, free: 8.625 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00859/1.239, allocations: 3.694 MB / 0.9707 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002759/1.242, allocations: 0.5518 MB / 0.9712 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003889/1.246, allocations: 1.951 MB / 0.9731 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of SimCode: time 9.02e-07/1.246, allocations: 0 / 0.9731 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5154/1.761, allocations: 85.23 MB / 1.056 GB, free: 294.5 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.31/17.07, allocations: 7.547 kB / 1.056 GB, free: 294.5 MB / 0.8106 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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_R_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)