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.001318/0.001318, allocations: 102.9 kB / 16.27 MB, free: 5.984 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.001367/0.001367, allocations: 188.4 kB / 17.2 MB, free: 5.613 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.288/1.288, 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.7411/0.7411, allocations: 122.8 MB / 413.9 MB, free: 15.97 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 63.91 kB / 0.4912 GB, free: 7.414 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.355, allocations: 77.92 MB / 0.5673 GB, free: 32.76 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03173/0.3867, allocations: 34.82 MB / 0.6013 GB, free: 7.82 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01684/0.4036, allocations: 11.5 MB / 0.6125 GB, free: 12.4 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003144/0.4068, allocations: 160 kB / 0.6127 GB, free: 12.24 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01043/0.4173, allocations: 4.251 MB / 0.6168 GB, free: 8 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006092/0.4234, allocations: 1.987 MB / 0.6188 GB, free: 6.016 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006767/0.4302, allocations: 2.404 MB / 0.6211 GB, free: 3.621 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0102/0.4404, allocations: 8.47 MB / 0.6294 GB, free: 11.13 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01628/0.4567, allocations: 11.21 MB / 0.6403 GB, free: 15.84 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005558/0.4623, allocations: 3.72 MB / 0.644 GB, free: 12.11 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005858/0.4682, allocations: 4.19 MB / 0.6481 GB, free: 7.906 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002166/0.4704, allocations: 0.7812 MB / 0.6488 GB, free: 7.125 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004788/0.4752, allocations: 2.021 MB / 0.6508 GB, free: 5.102 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004425/0.4796, allocations: 3.06 MB / 0.6538 GB, free: 2.035 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006537/0.4862, allocations: 3.4 MB / 0.6571 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01352/0.4997, allocations: 11.91 MB / 0.6687 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.4998, allocations: 0 / 0.6687 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.014e-06/0.4998, allocations: 0 / 0.6687 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0003133/0.5001, allocations: 0 / 0.6687 GB, free: 2.676 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01488/0.515, allocations: 5.787 MB / 0.6744 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.5151, allocations: 12.62 kB / 0.6744 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002152/0.5172, allocations: 0.8012 MB / 0.6752 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006489/0.5237, allocations: 1.071 MB / 0.6762 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006727/0.5305, allocations: 3.266 MB / 0.6794 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003649/0.5309, allocations: 411.5 kB / 0.6798 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001547/0.5324, allocations: 0.547 MB / 0.6804 GB, free: 6.641 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01622/0.5487, allocations: 9.075 MB / 0.6892 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001434/0.5488, allocations: 31.77 kB / 0.6892 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005962/0.5494, allocations: 240 kB / 0.6895 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003363/0.5498, allocations: 350.8 kB / 0.6898 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01221/0.562, allocations: 6.818 MB / 0.6965 GB, free: 5.805 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04176/0.6038, allocations: 40.11 MB / 0.7356 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003646/0.6075, allocations: 3.115 MB / 0.7387 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002563/0.6101, allocations: 1.962 MB / 0.7406 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.906e-05/0.6102, allocations: 18 kB / 0.7406 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.272e-05/0.6102, allocations: 52.56 kB / 0.7407 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=179): time 3.676e-06/0.6102, allocations: 0 / 0.7407 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of matching and sorting (n=182): time 0.2825/0.8927, allocations: 9.98 MB / 0.7504 GB, free: 151.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.8928, allocations: 71.62 kB / 0.7505 GB, free: 151.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002479/0.8953, allocations: 1.53 MB / 0.752 GB, free: 151 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001189/0.8954, allocations: 58.67 kB / 0.752 GB, free: 150.9 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001082/0.8965, allocations: 2.255 MB / 0.7542 GB, free: 149.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004448/0.8969, allocations: 0.6283 MB / 0.7548 GB, free: 148.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005971/0.8975, allocations: 407.5 kB / 0.7552 GB, free: 148.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.686e-05/0.8976, allocations: 304 kB / 0.7555 GB, free: 148.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001567/0.8991, allocations: 1.182 MB / 0.7567 GB, free: 147.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002027/0.9012, allocations: 1.885 MB / 0.7585 GB, free: 146.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004193/0.9054, allocations: 3.37 MB / 0.7618 GB, free: 144.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.557e-05/0.9054, allocations: 6.125 kB / 0.7618 GB, free: 144.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008236/0.9136, allocations: 4.586 MB / 0.7663 GB, free: 142.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.078e-05/0.9137, allocations: 11.81 kB / 0.7663 GB, free: 142.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.777e-05/0.9137, allocations: 23.53 kB / 0.7663 GB, free: 142.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003637/0.9174, allocations: 1.584 MB / 0.7679 GB, free: 142.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/0.9186, allocations: 356.3 kB / 0.7682 GB, free: 142.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01872/0.9373, allocations: 18.6 MB / 0.7864 GB, free: 130.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001807/0.9392, allocations: 119.8 kB / 0.7865 GB, free: 130.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001399/0.9393, allocations: 92.91 kB / 0.7866 GB, free: 130.1 MB / 0.5762 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.002542/0.9419, allocations: 1.904 MB / 0.7884 GB, free: 129 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003501/0.9422, allocations: 226.7 kB / 0.7887 GB, free: 128.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005344/0.9476, allocations: 4.09 MB / 0.7926 GB, free: 125.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.9476, allocations: 23.06 kB / 0.7927 GB, free: 125.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.394e-05/0.9476, allocations: 16 kB / 0.7927 GB, free: 125.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/0.9477, allocations: 11.16 kB / 0.7927 GB, free: 125.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01147/0.9591, allocations: 9.472 MB / 0.8019 GB, free: 116.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.948e-06/0.9592, allocations: 7.938 kB / 0.802 GB, free: 116.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007255/0.9599, allocations: 181.3 kB / 0.8021 GB, free: 116 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002826/0.9627, allocations: 1.362 MB / 0.8035 GB, free: 114.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.902e-05/0.9628, allocations: 36 kB / 0.8035 GB, free: 114.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01569/0.9785, allocations: 17.37 MB / 0.8205 GB, free: 96.64 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.9786, allocations: 7.938 kB / 0.8205 GB, free: 96.64 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00539/0.984, allocations: 4.065 MB / 0.8244 GB, free: 92.48 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001056/0.9851, allocations: 0.5218 MB / 0.8249 GB, free: 91.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002576/0.9853, allocations: 47.92 kB / 0.825 GB, free: 91.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008929/0.9862, allocations: 83.91 kB / 0.8251 GB, free: 91.81 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003997/0.9866, allocations: 157.7 kB / 0.8252 GB, free: 91.66 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.069e-05/0.9867, allocations: 51.98 kB / 0.8253 GB, free: 91.61 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001017/0.9877, allocations: 1.005 MB / 0.8262 GB, free: 90.58 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9878, allocations: 0 / 0.8262 GB, free: 90.58 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002726/0.9905, allocations: 0.9844 MB / 0.8272 GB, free: 89.59 MB / 0.5762 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.005172/0.9957, allocations: 4.667 MB / 0.8318 GB, free: 84.82 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006656/1.002, allocations: 5.199 MB / 0.8368 GB, free: 79.59 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/1.002, allocations: 0 / 0.8368 GB, free: 79.59 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003311/1.006, allocations: 2.669 MB / 0.8395 GB, free: 76.88 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003172/1.009, allocations: 0.7821 MB / 0.8402 GB, free: 76.14 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03159/1.04, allocations: 28.66 MB / 0.8682 GB, free: 45.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00276/1.043, allocations: 3.573 MB / 0.8717 GB, free: 41.89 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00122/1.044, allocations: 459.9 kB / 0.8721 GB, free: 41.44 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001389/1.046, allocations: 1.792 MB / 0.8739 GB, free: 39.64 MB / 0.5762 GB Notification: Performance of SimCode: time 4e-07/1.046, allocations: 0 / 0.8739 GB, free: 39.64 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1072/1.153, allocations: 72.44 MB / 0.9446 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.1/11.25, allocations: 4.812 kB / 0.9446 GB, free: 15.89 MB / 0.6231 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)