Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 112.2 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 190.6 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 225.6 MB / 249.3 MB, free: 3.363 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9756/0.9756, allocations: 175.7 MB / 480.1 MB, free: 2.855 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00173/0.00173, allocations: 64.12 kB / 0.6678 GB, free: 10.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.154, allocations: 94.53 MB / 0.7601 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03772/0.1917, allocations: 32.11 MB / 0.7914 GB, free: 0.6602 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02205/0.2138, allocations: 13.96 MB / 0.8051 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002548/0.2163, allocations: 147.2 kB / 0.8052 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.008246/0.2246, allocations: 3.326 MB / 0.8085 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00742/0.232, allocations: 2.778 MB / 0.8112 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005747/0.2377, allocations: 2.06 MB / 0.8132 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01019/0.2479, allocations: 7.625 MB / 0.8206 GB, free: 2.684 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007052/0.255, allocations: 4.253 MB / 0.8248 GB, free: 14.31 MB / 0.6388 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005193/0.2602, allocations: 3.463 MB / 0.8282 GB, free: 10.84 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005497/0.2657, allocations: 3.574 MB / 0.8317 GB, free: 7.25 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.001489/0.2671, allocations: 0.5977 MB / 0.8322 GB, free: 6.652 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003476/0.2706, allocations: 1.513 MB / 0.8337 GB, free: 5.137 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.003085/0.2737, allocations: 2.431 MB / 0.8361 GB, free: 2.699 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.3145/0.5882, allocations: 2.875 MB / 0.8389 GB, free: 21.82 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.01172/0.5999, allocations: 9.494 MB / 0.8482 GB, free: 21.39 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.5999, allocations: 0 / 0.8482 GB, free: 21.39 MB / 0.6388 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5999, allocations: 0.625 kB / 0.8482 GB, free: 21.39 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0002367/0.6001, allocations: 0 / 0.8482 GB, free: 21.39 MB / 0.6388 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.01268/0.6128, allocations: 5.272 MB / 0.8533 GB, free: 19.26 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.6129, allocations: 10 kB / 0.8533 GB, free: 19.26 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001069/0.6139, allocations: 0.6168 MB / 0.8539 GB, free: 19.2 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005572/0.6195, allocations: 1.022 MB / 0.8549 GB, free: 18.91 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00483/0.6243, allocations: 3.096 MB / 0.858 GB, free: 18.18 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001885/0.6245, allocations: 316.4 kB / 0.8583 GB, free: 18.17 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006883/0.6252, allocations: 417.2 kB / 0.8587 GB, free: 18.17 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009162/0.6344, allocations: 6.795 MB / 0.8653 GB, free: 17.31 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.776e-05/0.6345, allocations: 18.73 kB / 0.8653 GB, free: 17.31 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004578/0.6349, allocations: 183.3 kB / 0.8655 GB, free: 17.31 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007486/0.6357, allocations: 370.8 kB / 0.8658 GB, free: 17.3 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006874/0.6426, allocations: 5.118 MB / 0.8708 GB, free: 17.25 MB / 0.6388 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02463/0.6672, allocations: 30.57 MB / 0.9007 GB, free: 8.109 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001708/0.6689, allocations: 1.308 MB / 0.902 GB, free: 7.418 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001439/0.6703, allocations: 1.243 MB / 0.9032 GB, free: 6.797 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.44e-05/0.6704, allocations: 22.25 kB / 0.9032 GB, free: 6.789 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.948e-05/0.6705, allocations: 48.19 kB / 0.9033 GB, free: 6.742 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=130): time 3.116e-06/0.6705, allocations: 0 / 0.9033 GB, free: 6.742 MB / 0.6544 GB Notification: Performance of matching and sorting (n=199): time 0.08018/0.7506, allocations: 23.08 MB / 0.9258 GB, free: 9.18 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.575e-05/0.7507, allocations: 77.16 kB / 0.9259 GB, free: 9.094 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003149/0.7539, allocations: 2.059 MB / 0.9279 GB, free: 7.02 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0002179/0.7541, allocations: 57.7 kB / 0.9279 GB, free: 6.957 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001588/0.7557, allocations: 2.069 MB / 0.93 GB, free: 4.879 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007143/0.7564, allocations: 0.7126 MB / 0.9307 GB, free: 4.172 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007496/0.7571, allocations: 408.4 kB / 0.931 GB, free: 3.766 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.7573, allocations: 305.1 kB / 0.9313 GB, free: 3.465 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002125/0.7594, allocations: 1.433 MB / 0.9327 GB, free: 2.027 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0026/0.762, allocations: 2.009 MB / 0.9347 GB, free: 15.78 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004879/0.7669, allocations: 3.699 MB / 0.9383 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/0.7669, allocations: 10.62 kB / 0.9383 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01082/0.7777, allocations: 5.597 MB / 0.9438 GB, free: 6.41 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.875e-05/0.7777, allocations: 13.41 kB / 0.9438 GB, free: 6.398 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.349e-05/0.7777, allocations: 20 kB / 0.9438 GB, free: 6.379 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006452/0.7842, allocations: 2.087 MB / 0.9459 GB, free: 4.25 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001419/0.7856, allocations: 375.6 kB / 0.9462 GB, free: 3.906 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04056/0.8262, allocations: 38.46 MB / 0.9838 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002673/0.8288, allocations: 131.9 kB / 0.9839 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002438/0.8291, allocations: 91.17 kB / 0.984 GB, free: 10.9 MB / 0.7325 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.003041/0.8321, allocations: 1.512 MB / 0.9855 GB, free: 9.402 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006029/0.8327, allocations: 298.2 kB / 0.9857 GB, free: 9.109 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01044/0.8432, allocations: 5.133 MB / 0.9908 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.939e-05/0.8432, allocations: 23.94 kB / 0.9908 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.165e-05/0.8432, allocations: 24 kB / 0.9908 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.468e-05/0.8432, allocations: 11.95 kB / 0.9908 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0182/0.8614, allocations: 9.602 MB / 1 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-05/0.8615, allocations: 11.98 kB / 1 GB, free: 10.24 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007968/0.8623, allocations: 213.9 kB / 1 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005541/0.8678, allocations: 1.83 MB / 1.002 GB, free: 8.164 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001502/0.8679, allocations: 43.98 kB / 1.002 GB, free: 8.121 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03904/0.907, allocations: 37.48 MB / 1.039 GB, free: 316 kB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.907, allocations: 4 kB / 1.039 GB, free: 312 kB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009124/0.9161, allocations: 4.854 MB / 1.044 GB, free: 11.36 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001273/0.9174, allocations: 0.6319 MB / 1.044 GB, free: 10.71 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003289/0.9177, allocations: 40 kB / 1.044 GB, free: 10.67 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001324/0.919, allocations: 131.8 kB / 1.044 GB, free: 10.54 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005304/0.9196, allocations: 199.6 kB / 1.045 GB, free: 10.36 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001273/0.9197, allocations: 52 kB / 1.045 GB, free: 10.31 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001937/0.9216, allocations: 1.378 MB / 1.046 GB, free: 8.922 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9216, allocations: 4 kB / 1.046 GB, free: 8.918 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.003137/0.9248, allocations: 1.043 MB / 1.047 GB, free: 7.875 MB / 0.795 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.009033/0.9338, allocations: 5.473 MB / 1.052 GB, free: 2.32 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.009612/0.9434, allocations: 6.009 MB / 1.058 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/0.9434, allocations: 8 kB / 1.058 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.006394/0.9498, allocations: 4.279 MB / 1.062 GB, free: 7.723 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003776/0.9536, allocations: 0.9829 MB / 1.063 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04972/1.003, allocations: 30.75 MB / 1.093 GB, free: 7.312 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003589/1.007, allocations: 3.12 MB / 1.096 GB, free: 4.16 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001727/1.009, allocations: 0.5238 MB / 1.097 GB, free: 3.633 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002048/1.011, allocations: 1.675 MB / 1.099 GB, free: 1.957 MB / 0.8419 GB Notification: Performance of SimCode: time 1.062e-06/1.011, allocations: 0 / 1.099 GB, free: 1.957 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4996/1.51, allocations: 89.32 MB / 1.186 GB, free: 328.5 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.87/15.38, allocations: 2.688 kB / 1.186 GB, free: 328.5 MB / 0.92 GB " [Timeout remaining time 644] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.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 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.974829436003347]