Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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.ACLineMatrix_RLC_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_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.001148/0.001148, allocations: 102.3 kB / 16.27 MB, free: 5.93 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.001148/0.001149, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.295/1.295, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7635/0.7635, allocations: 122.9 MB / 413.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 59.91 kB / 0.4912 GB, free: 7.367 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3295, allocations: 77.92 MB / 0.5673 GB, free: 32.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.009969/0.3395, allocations: 10.07 MB / 0.5771 GB, free: 25.79 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005234/0.3447, allocations: 3.168 MB / 0.5802 GB, free: 23.64 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009294/0.3457, allocations: 34.62 kB / 0.5803 GB, free: 23.63 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001736/0.3474, allocations: 0.5966 MB / 0.5808 GB, free: 23.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001824/0.3493, allocations: 0.748 MB / 0.5816 GB, free: 22.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001642/0.3509, allocations: 0.7399 MB / 0.5823 GB, free: 22.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00287/0.3538, allocations: 2.996 MB / 0.5852 GB, free: 20.87 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00281/0.3566, allocations: 2.61 MB / 0.5878 GB, free: 19.72 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001717/0.3584, allocations: 1.246 MB / 0.589 GB, free: 19.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001971/0.3604, allocations: 1.56 MB / 0.5905 GB, free: 18.11 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006586/0.361, allocations: 239.9 kB / 0.5907 GB, free: 18.1 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001365/0.3624, allocations: 0.4992 MB / 0.5912 GB, free: 17.96 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001151/0.3636, allocations: 1.073 MB / 0.5923 GB, free: 17.2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001212/0.3648, allocations: 1.109 MB / 0.5934 GB, free: 16.09 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002156/0.3669, allocations: 3.661 MB / 0.5969 GB, free: 12.41 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.367, allocations: 0 / 0.5969 GB, free: 12.41 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.367, allocations: 0 / 0.5969 GB, free: 12.41 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.181e-05/0.367, allocations: 0 / 0.5969 GB, free: 12.41 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.002913/0.3699, allocations: 2.159 MB / 0.599 GB, free: 10.2 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.37, allocations: 8.031 kB / 0.599 GB, free: 10.19 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002506/0.3702, allocations: 257.2 kB / 0.5993 GB, free: 9.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008499/0.3787, allocations: 1.313 MB / 0.6006 GB, free: 8.613 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00175/0.3805, allocations: 1.255 MB / 0.6018 GB, free: 7.312 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.882e-05/0.3806, allocations: 111.4 kB / 0.6019 GB, free: 7.203 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002638/0.3808, allocations: 160.2 kB / 0.6021 GB, free: 7.047 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003845/0.3847, allocations: 3.429 MB / 0.6054 GB, free: 3.52 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.251e-05/0.3847, allocations: 3.938 kB / 0.6054 GB, free: 3.516 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001977/0.3849, allocations: 71.97 kB / 0.6055 GB, free: 3.445 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001777/0.3851, allocations: 203.1 kB / 0.6057 GB, free: 3.246 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003552/0.3887, allocations: 3.124 MB / 0.6087 GB, free: 120 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01602/0.4047, allocations: 13.61 MB / 0.622 GB, free: 1.617 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002333/0.4071, allocations: 1.731 MB / 0.6237 GB, free: 15.88 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001788/0.4089, allocations: 1.448 MB / 0.6251 GB, free: 14.42 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.716e-05/0.409, allocations: 9 kB / 0.6251 GB, free: 14.41 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.409, allocations: 43.56 kB / 0.6252 GB, free: 14.36 MB / 478.1 MB Notification: Performance of pre-optimization done (n=104): time 2.895e-06/0.409, allocations: 4 kB / 0.6252 GB, free: 14.36 MB / 478.1 MB Notification: Performance of matching and sorting (n=183): time 0.1496/0.5586, allocations: 36.67 MB / 0.661 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.5587, allocations: 69.41 kB / 0.6611 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001443/0.5602, allocations: 1.057 MB / 0.6621 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002333/0.5604, allocations: 53.7 kB / 0.6621 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004778/0.5609, allocations: 0.7873 MB / 0.6629 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006026/0.5615, allocations: 0.6122 MB / 0.6635 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007818/0.5623, allocations: 367.3 kB / 0.6639 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.739e-05/0.5624, allocations: 305.1 kB / 0.6641 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002569/0.5649, allocations: 1.928 MB / 0.666 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002782/0.5677, allocations: 2.285 MB / 0.6683 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005563/0.5733, allocations: 4.393 MB / 0.6725 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.746e-06/0.5733, allocations: 4 kB / 0.6726 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02074/0.5941, allocations: 9.019 MB / 0.6814 GB, free: 4.332 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.162e-05/0.5942, allocations: 12 kB / 0.6814 GB, free: 4.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.545e-05/0.5942, allocations: 11.94 kB / 0.6814 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01687/0.6111, allocations: 5.007 MB / 0.6863 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009581/0.6121, allocations: 191.7 kB / 0.6865 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05702/0.6691, allocations: 38.92 MB / 0.7245 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002003/0.6712, allocations: 103.9 kB / 0.7246 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003142/0.6715, allocations: 64 kB / 0.7246 GB, free: 7.438 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001366/0.6729, allocations: 0.8103 MB / 0.7254 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003772/0.6733, allocations: 142.3 kB / 0.7256 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01999/0.6933, allocations: 8.894 MB / 0.7342 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.416e-05/0.6933, allocations: 16 kB / 0.7343 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.274e-05/0.6934, allocations: 32 kB / 0.7343 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.846e-05/0.6935, allocations: 11.95 kB / 0.7343 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0281/0.7216, allocations: 13.31 MB / 0.7473 GB, free: 28 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.479e-05/0.7216, allocations: 4 kB / 0.7473 GB, free: 24 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2257/0.9473, allocations: 118.2 kB / 0.7474 GB, free: 155.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01763/0.965, allocations: 4.787 MB / 0.7521 GB, free: 155.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003513/0.9654, allocations: 34.22 kB / 0.7521 GB, free: 155.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04589/1.011, allocations: 34.88 MB / 0.7862 GB, free: 140.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/1.011, allocations: 3.844 kB / 0.7862 GB, free: 140.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01629/1.028, allocations: 8.402 MB / 0.7944 GB, free: 133.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001098/1.029, allocations: 0.6163 MB / 0.795 GB, free: 132.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003176/1.029, allocations: 32 kB / 0.795 GB, free: 132.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001306/1.03, allocations: 98.94 kB / 0.7951 GB, free: 132.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008278/1.031, allocations: 157.7 kB / 0.7953 GB, free: 132.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001279/1.031, allocations: 46.94 kB / 0.7953 GB, free: 132.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007797/1.032, allocations: 0.7382 MB / 0.796 GB, free: 131.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.81e-07/1.032, allocations: 0 / 0.796 GB, free: 131.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002692/1.035, allocations: 1.004 MB / 0.797 GB, free: 130.6 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (14,24,80.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01639/1.051, allocations: 8.997 MB / 0.8058 GB, free: 121.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008966/1.06, allocations: 6.691 MB / 0.8123 GB, free: 114.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/1.06, allocations: 4 kB / 0.8123 GB, free: 114.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006495/1.067, allocations: 3.832 MB / 0.8161 GB, free: 110.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001336/1.068, allocations: 238.5 kB / 0.8163 GB, free: 110.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04792/1.116, allocations: 31.72 MB / 0.8473 GB, free: 78.14 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00118/1.117, allocations: 1.855 MB / 0.8491 GB, free: 76.25 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000728/1.118, allocations: 355.4 kB / 0.8494 GB, free: 75.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005237/1.119, allocations: 0.6086 MB / 0.85 GB, free: 75.29 MB / 0.5762 GB Notification: Performance of SimCode: time 5.82e-07/1.119, allocations: 0 / 0.85 GB, free: 75.29 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08734/1.206, allocations: 74.14 MB / 0.9224 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.8/11.01, allocations: 9.875 kB / 0.9224 GB, free: 1.492 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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_ACLineMatrix_RLC_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)