Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",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.001186/0.001186, allocations: 102 kB / 16.27 MB, free: 5.992 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.001186/0.001186, allocations: 187.5 kB / 17.2 MB, free: 5.605 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.273/1.273, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7514/0.7514, allocations: 122.9 MB / 413.9 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 60.36 kB / 0.4912 GB, free: 7.316 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3567, allocations: 77.93 MB / 0.5673 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.02872/0.3855, allocations: 30.74 MB / 0.5973 GB, free: 10.75 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01799/0.4035, allocations: 13.59 MB / 0.6106 GB, free: 14.37 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003381/0.4069, allocations: 143.8 kB / 0.6107 GB, free: 14.23 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008328/0.4153, allocations: 3.202 MB / 0.6139 GB, free: 11.03 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009062/0.4244, allocations: 2.664 MB / 0.6165 GB, free: 8.375 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006213/0.4306, allocations: 2.005 MB / 0.6184 GB, free: 6.379 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.009858/0.4405, allocations: 7.623 MB / 0.6259 GB, free: 14.73 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009489/0.45, allocations: 8.291 MB / 0.634 GB, free: 6.328 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005351/0.4554, allocations: 3.393 MB / 0.6373 GB, free: 2.926 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004533/0.46, allocations: 3.38 MB / 0.6406 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001103/0.4611, allocations: 0.5977 MB / 0.6412 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002861/0.4639, allocations: 1.494 MB / 0.6426 GB, free: 13.44 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002178/0.4661, allocations: 2.362 MB / 0.6449 GB, free: 11.07 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003827/0.47, allocations: 2.886 MB / 0.6477 GB, free: 8.176 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01138/0.4814, allocations: 9.406 MB / 0.6569 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.4814, allocations: 0 / 0.6569 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.655e-06/0.4814, allocations: 0 / 0.6569 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.000353/0.4818, allocations: 3.938 kB / 0.6569 GB, free: 14.74 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01269/0.4945, allocations: 5.136 MB / 0.6619 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.4946, allocations: 8.625 kB / 0.662 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00113/0.4957, allocations: 0.6125 MB / 0.6625 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005882/0.5016, allocations: 1.002 MB / 0.6635 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006876/0.5085, allocations: 2.892 MB / 0.6664 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003084/0.5088, allocations: 312.8 kB / 0.6666 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001532/0.5104, allocations: 431.8 kB / 0.6671 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01243/0.5228, allocations: 6.791 MB / 0.6737 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001215/0.523, allocations: 23.78 kB / 0.6737 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005434/0.5235, allocations: 184 kB / 0.6739 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008742/0.5244, allocations: 372 kB / 0.6742 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008756/0.5332, allocations: 5.114 MB / 0.6792 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03139/0.5646, allocations: 30.73 MB / 0.7093 GB, free: 5.891 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001909/0.5666, allocations: 1.387 MB / 0.7106 GB, free: 4.492 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001613/0.5682, allocations: 1.332 MB / 0.7119 GB, free: 3.16 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.932e-05/0.5683, allocations: 17.31 kB / 0.7119 GB, free: 3.145 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.117e-05/0.5683, allocations: 47.88 kB / 0.712 GB, free: 3.09 MB / 0.545 GB Notification: Performance of pre-optimization done (n=130): time 3.948e-06/0.5684, allocations: 0 / 0.712 GB, free: 3.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=199): time 0.08685/0.6552, allocations: 23.07 MB / 0.7345 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.6553, allocations: 77.34 kB / 0.7346 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003073/0.6584, allocations: 2.066 MB / 0.7366 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002292/0.6586, allocations: 57.7 kB / 0.7366 GB, free: 9.664 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001231/0.6599, allocations: 2.006 MB / 0.7386 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006207/0.6605, allocations: 0.6777 MB / 0.7393 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007296/0.6612, allocations: 412.2 kB / 0.7397 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.807e-05/0.6613, allocations: 305.1 kB / 0.74 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00199/0.6633, allocations: 1.433 MB / 0.7414 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002332/0.6656, allocations: 2.01 MB / 0.7433 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.254/0.9197, allocations: 3.691 MB / 0.7469 GB, free: 151.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.364e-05/0.9198, allocations: 6.719 kB / 0.7469 GB, free: 151.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01188/0.9316, allocations: 5.657 MB / 0.7524 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.531e-05/0.9317, allocations: 12.88 kB / 0.7525 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.686e-05/0.9317, allocations: 20.53 kB / 0.7525 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006602/0.9383, allocations: 2.096 MB / 0.7545 GB, free: 149.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001769/0.9401, allocations: 376.1 kB / 0.7549 GB, free: 149.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03078/0.9709, allocations: 38.47 MB / 0.7925 GB, free: 118.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002374/0.9733, allocations: 129 kB / 0.7926 GB, free: 118.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002034/0.9736, allocations: 90.78 kB / 0.7927 GB, free: 118.3 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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.001991/0.9756, allocations: 1.505 MB / 0.7941 GB, free: 117.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003982/0.976, allocations: 281.5 kB / 0.7944 GB, free: 117.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008464/0.9844, allocations: 5.22 MB / 0.7995 GB, free: 114.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/0.9845, allocations: 22.59 kB / 0.7995 GB, free: 114.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.321e-05/0.9845, allocations: 19.56 kB / 0.7995 GB, free: 114.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-05/0.9845, allocations: 11.95 kB / 0.7996 GB, free: 114.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01422/0.9988, allocations: 9.674 MB / 0.809 GB, free: 108.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.379e-05/0.9988, allocations: 4 kB / 0.809 GB, free: 108.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007824/0.9996, allocations: 222 kB / 0.8092 GB, free: 108.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005082/1.005, allocations: 1.849 MB / 0.811 GB, free: 106.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001768/1.005, allocations: 44 kB / 0.8111 GB, free: 106.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02678/1.032, allocations: 37.46 MB / 0.8476 GB, free: 66.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/1.032, allocations: 8 kB / 0.8477 GB, free: 66.46 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007295/1.039, allocations: 4.918 MB / 0.8525 GB, free: 61.38 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001255/1.04, allocations: 0.6109 MB / 0.8531 GB, free: 60.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003863/1.041, allocations: 47.84 kB / 0.8531 GB, free: 60.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001347/1.042, allocations: 127.8 kB / 0.8532 GB, free: 60.57 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005537/1.043, allocations: 189.4 kB / 0.8534 GB, free: 60.39 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/1.043, allocations: 67.98 kB / 0.8535 GB, free: 60.33 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001436/1.044, allocations: 1.374 MB / 0.8548 GB, free: 58.95 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/1.044, allocations: 0 / 0.8548 GB, free: 58.95 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002913/1.047, allocations: 1.051 MB / 0.8558 GB, free: 57.89 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007175/1.054, allocations: 5.53 MB / 0.8612 GB, free: 52.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009542/1.064, allocations: 7.222 MB / 0.8683 GB, free: 44.77 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/1.064, allocations: 4.25 kB / 0.8683 GB, free: 44.77 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005236/1.069, allocations: 4.388 MB / 0.8726 GB, free: 40.17 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003816/1.073, allocations: 0.9888 MB / 0.8735 GB, free: 39.24 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04541/1.118, allocations: 34.1 MB / 0.9068 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00305/1.121, allocations: 3.127 MB / 0.9099 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002086/1.124, allocations: 0.5199 MB / 0.9104 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002006/1.126, allocations: 1.671 MB / 0.912 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of SimCode: time 7.22e-07/1.126, allocations: 0 / 0.912 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4282/1.554, allocations: 89.2 MB / 0.9991 GB, free: 214.6 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/12.22, allocations: 7.25 kB / 0.9992 GB, free: 214.6 MB / 0.6544 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)