Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",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.001338/0.001338, allocations: 109.8 kB / 16.41 MB, free: 6.492 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.001279/0.001279, 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.406/1.406, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8103/0.8103, allocations: 126.7 MB / 417.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 72.45 kB / 0.5736 GB, free: 27.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1373, allocations: 78.87 MB / 0.6506 GB, free: 3.594 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03964/0.177, allocations: 32.58 MB / 0.6824 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01754/0.1946, allocations: 10.27 MB / 0.6924 GB, free: 8.605 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002675/0.1973, allocations: 147.2 kB / 0.6926 GB, free: 8.461 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.009392/0.2067, allocations: 3.715 MB / 0.6962 GB, free: 4.738 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005009/0.2117, allocations: 1.854 MB / 0.698 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005161/0.2169, allocations: 2.133 MB / 0.7001 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.008981/0.2259, allocations: 7.329 MB / 0.7072 GB, free: 9.395 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01275/0.2387, allocations: 9.416 MB / 0.7164 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006184/0.2449, allocations: 3.178 MB / 0.7195 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006202/0.2512, allocations: 3.485 MB / 0.7229 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0023/0.2535, allocations: 0.6445 MB / 0.7236 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00487/0.2584, allocations: 1.763 MB / 0.7253 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.003679/0.2621, allocations: 2.554 MB / 0.7278 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.005074/0.2672, allocations: 2.898 MB / 0.7306 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01262/0.2798, allocations: 10.13 MB / 0.7405 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.2799, allocations: 0 / 0.7405 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.234e-06/0.2799, allocations: 0 / 0.7405 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0002823/0.2802, allocations: 0 / 0.7405 GB, free: 7.137 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01224/0.2924, allocations: 5.128 MB / 0.7455 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/0.2925, allocations: 8.031 kB / 0.7455 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001605/0.2941, allocations: 0.682 MB / 0.7462 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005656/0.2998, allocations: 0.9774 MB / 0.7471 GB, free: 256 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3153/0.6151, allocations: 3.051 MB / 0.7501 GB, free: 83.7 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003082/0.6155, allocations: 351.1 kB / 0.7505 GB, free: 83.55 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001529/0.617, allocations: 464 kB / 0.7509 GB, free: 83.41 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01668/0.6337, allocations: 7.664 MB / 0.7584 GB, free: 80.1 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002094/0.634, allocations: 23.08 kB / 0.7584 GB, free: 80.09 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007991/0.6348, allocations: 203 kB / 0.7586 GB, free: 79.95 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003972/0.6352, allocations: 317.9 kB / 0.7589 GB, free: 79.9 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01191/0.6471, allocations: 5.715 MB / 0.7645 GB, free: 77.92 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03192/0.6791, allocations: 34.89 MB / 0.7986 GB, free: 46.28 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002239/0.6813, allocations: 2.16 MB / 0.8007 GB, free: 44.81 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001261/0.6826, allocations: 1.265 MB / 0.8019 GB, free: 44.14 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.153e-05/0.6827, allocations: 14.78 kB / 0.8019 GB, free: 44.14 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.6828, allocations: 47.09 kB / 0.802 GB, free: 44.09 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=133): time 2.915e-06/0.6828, allocations: 3.938 kB / 0.802 GB, free: 44.08 MB / 0.5762 GB Notification: Performance of matching and sorting (n=136): time 0.012/0.6948, allocations: 7.136 MB / 0.8089 GB, free: 37.64 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.255e-05/0.6948, allocations: 64.72 kB / 0.809 GB, free: 37.57 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001722/0.6966, allocations: 1.493 MB / 0.8105 GB, free: 36.03 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.677e-05/0.6967, allocations: 53.7 kB / 0.8105 GB, free: 35.97 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007265/0.6974, allocations: 2.068 MB / 0.8125 GB, free: 33.89 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002843/0.6977, allocations: 0.4989 MB / 0.813 GB, free: 33.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004149/0.6981, allocations: 351.3 kB / 0.8133 GB, free: 33.05 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.684e-05/0.6982, allocations: 309.1 kB / 0.8136 GB, free: 32.75 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000981/0.6991, allocations: 0.9135 MB / 0.8145 GB, free: 31.84 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001191/0.7003, allocations: 1.593 MB / 0.8161 GB, free: 29.93 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002404/0.7028, allocations: 2.737 MB / 0.8188 GB, free: 26.89 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.307e-05/0.7028, allocations: 7.656 kB / 0.8188 GB, free: 26.88 MB / 0.5762 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.004845/0.7076, allocations: 3.547 MB / 0.8222 GB, free: 23.29 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.851e-05/0.7077, allocations: 12 kB / 0.8222 GB, free: 23.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.212e-05/0.7077, allocations: 24 kB / 0.8223 GB, free: 23.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002219/0.7099, allocations: 0.8924 MB / 0.8231 GB, free: 22.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/0.711, allocations: 351.3 kB / 0.8235 GB, free: 21.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01623/0.7273, allocations: 23.12 MB / 0.8461 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001675/0.729, allocations: 99.92 kB / 0.8461 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002887/0.7293, allocations: 87.98 kB / 0.8462 GB, free: 13.03 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 (185): * 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: 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 {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (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.002804/0.7321, allocations: 1.616 MB / 0.8478 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005142/0.7326, allocations: 210.7 kB / 0.848 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005787/0.7384, allocations: 2.99 MB / 0.8509 GB, free: 8.156 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.541e-05/0.7385, allocations: 12 kB / 0.8509 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.233e-05/0.7385, allocations: 16.22 kB / 0.851 GB, free: 8.129 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.765e-05/0.7385, allocations: 11.97 kB / 0.851 GB, free: 8.117 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01441/0.7529, allocations: 7.339 MB / 0.8581 GB, free: 0.5742 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.636e-05/0.753, allocations: 8.031 kB / 0.8581 GB, free: 0.5664 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008656/0.7539, allocations: 171.7 kB / 0.8583 GB, free: 408 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002557/0.7564, allocations: 0.8281 MB / 0.8591 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001314/0.7566, allocations: 28 kB / 0.8591 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02241/0.779, allocations: 21.96 MB / 0.8806 GB, free: 7.887 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.885e-06/0.7791, allocations: 7.938 kB / 0.8806 GB, free: 7.879 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005595/0.7847, allocations: 3.034 MB / 0.8836 GB, free: 4.727 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000986/0.7857, allocations: 471.6 kB / 0.884 GB, free: 4.246 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003963/0.7861, allocations: 32 kB / 0.884 GB, free: 4.215 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009492/0.787, allocations: 71.91 kB / 0.8841 GB, free: 4.145 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003698/0.7874, allocations: 124.7 kB / 0.8842 GB, free: 4.023 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.248e-05/0.7875, allocations: 36 kB / 0.8843 GB, free: 3.988 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001562/0.7891, allocations: 0.9756 MB / 0.8852 GB, free: 2.988 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7891, allocations: 0 / 0.8852 GB, free: 2.988 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00273/0.7918, allocations: 0.7891 MB / 0.886 GB, free: 2.199 MB / 0.6231 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 (91): * Single equations (assignments): 79 * 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,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,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005694/0.7975, allocations: 3.631 MB / 0.8895 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.006576/0.8041, allocations: 4.038 MB / 0.8935 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/0.8042, allocations: 0 / 0.8935 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.004174/0.8084, allocations: 2.745 MB / 0.8961 GB, free: 7.367 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003681/0.8121, allocations: 0.7333 MB / 0.8969 GB, free: 6.668 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04259/0.8547, allocations: 22.45 MB / 0.9188 GB, free: 15.2 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006172/0.8609, allocations: 3.109 MB / 0.9218 GB, free: 12.06 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001775/0.8627, allocations: 458 kB / 0.9223 GB, free: 11.61 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002581/0.8653, allocations: 1.542 MB / 0.9238 GB, free: 10.07 MB / 0.67 GB Notification: Performance of SimCode: time 1.853e-06/0.8653, allocations: 3.938 kB / 0.9238 GB, free: 10.06 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1458/1.011, allocations: 61.39 MB / 0.9837 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.61/14.62, allocations: 4.062 kB / 0.9837 GB, free: 13.28 MB / 0.7325 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)