Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",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.001326/0.001326, allocations: 109.6 kB / 16.41 MB, free: 6.445 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.001366/0.001366, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.492/1.492, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8182/0.8182, allocations: 126.7 MB / 417.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 67.98 kB / 0.5736 GB, free: 27.04 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1452, allocations: 78.86 MB / 0.6506 GB, free: 3.582 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04175/0.187, allocations: 35.11 MB / 0.6849 GB, free: 360 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01913/0.2062, allocations: 9.933 MB / 0.6946 GB, free: 6.391 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004135/0.2104, allocations: 147.2 kB / 0.6947 GB, free: 6.246 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.01012/0.2206, allocations: 3.808 MB / 0.6984 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006916/0.2275, allocations: 2.028 MB / 0.7004 GB, free: 400 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.006441/0.234, allocations: 1.961 MB / 0.7023 GB, free: 14.43 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01176/0.2458, allocations: 7.982 MB / 0.7101 GB, free: 6.43 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0149/0.2607, allocations: 9.518 MB / 0.7194 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00647/0.2672, allocations: 3.381 MB / 0.7227 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007535/0.2748, allocations: 3.734 MB / 0.7264 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.002545/0.2774, allocations: 0.6797 MB / 0.727 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004722/0.2821, allocations: 1.443 MB / 0.7284 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.004854/0.287, allocations: 2.62 MB / 0.731 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.007464/0.2945, allocations: 3.105 MB / 0.734 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01574/0.3103, allocations: 10.4 MB / 0.7442 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.3103, allocations: 0 / 0.7442 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.924e-06/0.3103, allocations: 0 / 0.7442 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0003979/0.3107, allocations: 0 / 0.7442 GB, free: 3.355 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.3088/0.6196, allocations: 5.535 MB / 0.7496 GB, free: 83.93 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.6196, allocations: 10.23 kB / 0.7496 GB, free: 83.93 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001824/0.6215, allocations: 0.6989 MB / 0.7503 GB, free: 83.57 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005456/0.6269, allocations: 0.9926 MB / 0.7512 GB, free: 83.25 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006572/0.6335, allocations: 3.197 MB / 0.7544 GB, free: 81.98 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003632/0.6339, allocations: 359.5 kB / 0.7547 GB, free: 81.82 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001617/0.6355, allocations: 471.6 kB / 0.7552 GB, free: 81.68 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01678/0.6523, allocations: 7.897 MB / 0.7629 GB, free: 78.24 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002091/0.6526, allocations: 28.7 kB / 0.7629 GB, free: 78.22 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008777/0.6535, allocations: 203.9 kB / 0.7631 GB, free: 78.08 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005416/0.654, allocations: 369.4 kB / 0.7634 GB, free: 78.04 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01171/0.6657, allocations: 5.938 MB / 0.7692 GB, free: 75.67 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03519/0.701, allocations: 36.01 MB / 0.8044 GB, free: 42.07 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002824/0.7038, allocations: 2.135 MB / 0.8065 GB, free: 39.92 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001541/0.7054, allocations: 1.48 MB / 0.8079 GB, free: 38.45 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001088/0.7055, allocations: 21.3 kB / 0.808 GB, free: 38.43 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.7056, allocations: 51.88 kB / 0.808 GB, free: 38.37 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=157): time 4.298e-06/0.7056, allocations: 0 / 0.808 GB, free: 38.37 MB / 0.5762 GB Notification: Performance of matching and sorting (n=160): time 0.01206/0.7176, allocations: 7.62 MB / 0.8155 GB, free: 30.54 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.7177, allocations: 68.72 kB / 0.8155 GB, free: 30.46 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002284/0.72, allocations: 1.866 MB / 0.8173 GB, free: 28.57 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001266/0.7201, allocations: 53.7 kB / 0.8174 GB, free: 28.52 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008631/0.721, allocations: 2.184 MB / 0.8195 GB, free: 26.32 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003615/0.7214, allocations: 0.5842 MB / 0.8201 GB, free: 25.75 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005723/0.722, allocations: 404 kB / 0.8205 GB, free: 25.34 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.001e-05/0.722, allocations: 309.1 kB / 0.8208 GB, free: 25.04 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001295/0.7233, allocations: 1.058 MB / 0.8218 GB, free: 23.98 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001616/0.7249, allocations: 1.764 MB / 0.8235 GB, free: 21.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003345/0.7283, allocations: 3.045 MB / 0.8265 GB, free: 18.54 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.077e-05/0.7283, allocations: 8 kB / 0.8265 GB, free: 18.53 MB / 0.5762 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.00572/0.7341, allocations: 3.934 MB / 0.8304 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.112e-05/0.7341, allocations: 16 kB / 0.8304 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.652e-05/0.7341, allocations: 20 kB / 0.8304 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002188/0.7363, allocations: 0.9348 MB / 0.8313 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001413/0.7378, allocations: 431.2 kB / 0.8317 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01937/0.7571, allocations: 22.77 MB / 0.8539 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002286/0.7595, allocations: 123.9 kB / 0.8541 GB, free: 4.574 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002243/0.7597, allocations: 92 kB / 0.8542 GB, free: 4.484 MB / 0.5919 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002847/0.7626, allocations: 1.653 MB / 0.8558 GB, free: 2.82 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005797/0.7631, allocations: 278.3 kB / 0.856 GB, free: 2.547 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005952/0.7691, allocations: 3.256 MB / 0.8592 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.665e-05/0.7691, allocations: 16 kB / 0.8592 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.162e-05/0.7692, allocations: 12 kB / 0.8592 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.665e-05/0.7692, allocations: 7.969 kB / 0.8592 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01321/0.7824, allocations: 7.555 MB / 0.8666 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/0.7825, allocations: 4 kB / 0.8666 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009836/0.7835, allocations: 219.6 kB / 0.8668 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00249/0.786, allocations: 0.8884 MB / 0.8677 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001472/0.7861, allocations: 39.92 kB / 0.8677 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02346/0.8096, allocations: 22.74 MB / 0.89 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/0.8096, allocations: 9.062 kB / 0.89 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006635/0.8163, allocations: 3.396 MB / 0.8933 GB, free: 10.44 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001307/0.8176, allocations: 0.5384 MB / 0.8938 GB, free: 9.879 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003565/0.818, allocations: 35.95 kB / 0.8938 GB, free: 9.844 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001141/0.8191, allocations: 91.83 kB / 0.8939 GB, free: 9.754 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004176/0.8196, allocations: 141 kB / 0.8941 GB, free: 9.617 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001206/0.8197, allocations: 48 kB / 0.8941 GB, free: 9.57 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001826/0.8215, allocations: 1.225 MB / 0.8953 GB, free: 8.332 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8215, allocations: 0 / 0.8953 GB, free: 8.332 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002974/0.8245, allocations: 0.9062 MB / 0.8962 GB, free: 7.426 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006181/0.8307, allocations: 3.996 MB / 0.9001 GB, free: 3.312 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.007886/0.8386, allocations: 4.434 MB / 0.9044 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.986e-05/0.8387, allocations: 1 kB / 0.9044 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.004769/0.8435, allocations: 3.011 MB / 0.9074 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003994/0.8475, allocations: 0.8221 MB / 0.9082 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04403/0.8915, allocations: 25.18 MB / 0.9327 GB, free: 0.4961 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004163/0.8957, allocations: 3.209 MB / 0.9359 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001927/0.8977, allocations: 0.5293 MB / 0.9364 GB, free: 12.72 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002314/0.9, allocations: 1.651 MB / 0.938 GB, free: 11.07 MB / 0.6856 GB Notification: Performance of SimCode: time 1.072e-06/0.9, allocations: 0 / 0.938 GB, free: 11.07 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1613/1.061, allocations: 70.23 MB / 1.007 GB, free: 5.676 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.49/15.55, allocations: 2.656 kB / 1.007 GB, free: 5.676 MB / 0.7481 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)