Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 217.7 kB / 22.26 MB, free: 3.703 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9831/0.9831, allocations: 230.6 MB / 256 MB, free: 9.812 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8251/0.8251, allocations: 203.8 MB / 0.5042 GB, free: 10.76 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001/0.001, allocations: 64.14 kB / 0.7182 GB, free: 4.363 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5736/0.5746, allocations: 102 MB / 0.8179 GB, free: 1.285 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.006731/0.5814, allocations: 7.079 MB / 0.8248 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003521/0.5849, allocations: 3.229 MB / 0.8279 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002811/0.5852, allocations: 40.06 kB / 0.828 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001306/0.5865, allocations: 0.9935 MB / 0.8289 GB, free: 9.789 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0007493/0.5872, allocations: 0.5213 MB / 0.8294 GB, free: 9.473 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007382/0.5879, allocations: 449.6 kB / 0.8299 GB, free: 9.254 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001153/0.5891, allocations: 1.233 MB / 0.8311 GB, free: 8.688 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008123/0.5899, allocations: 0.5316 MB / 0.8316 GB, free: 8.441 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006275/0.5905, allocations: 488.6 kB / 0.8321 GB, free: 8.242 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007767/0.5913, allocations: 0.5561 MB / 0.8326 GB, free: 8.012 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.944e-05/0.5914, allocations: 66 kB / 0.8327 GB, free: 8.012 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005623/0.592, allocations: 396.7 kB / 0.833 GB, free: 7.887 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002727/0.5923, allocations: 314.3 kB / 0.8333 GB, free: 7.754 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003755/0.5926, allocations: 454.7 kB / 0.8338 GB, free: 7.488 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001306/0.5939, allocations: 1.225 MB / 0.835 GB, free: 7.059 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.5939, allocations: 4 kB / 0.835 GB, free: 7.055 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.126e-06/0.5939, allocations: 1.906 kB / 0.835 GB, free: 7.055 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.784e-05/0.594, allocations: 0 / 0.835 GB, free: 7.055 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001445/0.5954, allocations: 1.116 MB / 0.8361 GB, free: 6.324 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.5954, allocations: 10.66 kB / 0.8361 GB, free: 6.324 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001237/0.5956, allocations: 122.8 kB / 0.8362 GB, free: 6.238 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008623/0.5964, allocations: 248.7 kB / 0.8364 GB, free: 6.176 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006954/0.5971, allocations: 0.5334 MB / 0.837 GB, free: 5.844 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.414e-05/0.5972, allocations: 46.73 kB / 0.837 GB, free: 5.82 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.333e-05/0.5972, allocations: 69.84 kB / 0.8371 GB, free: 5.793 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/0.5984, allocations: 1.081 MB / 0.8381 GB, free: 5.176 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/0.5984, allocations: 11.12 kB / 0.8381 GB, free: 5.168 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.595e-05/0.5985, allocations: 29.14 kB / 0.8382 GB, free: 5.148 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001039/0.5986, allocations: 84.58 kB / 0.8382 GB, free: 5.141 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000896/0.5995, allocations: 0.7491 MB / 0.839 GB, free: 4.871 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003594/0.6031, allocations: 5.808 MB / 0.8446 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006684/0.6037, allocations: 0.5132 MB / 0.8451 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003201/0.6041, allocations: 291.5 kB / 0.8454 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.014e-05/0.6041, allocations: 9.875 kB / 0.8454 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.6041, allocations: 37.16 kB / 0.8455 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=47): time 1.393e-06/0.6041, allocations: 0 / 0.8455 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=48): time 0.002406/0.6065, allocations: 1.687 MB / 0.8471 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.325e-05/0.6065, allocations: 56.44 kB / 0.8472 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004751/0.607, allocations: 0.5595 MB / 0.8477 GB, free: 13.69 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.98e-05/0.607, allocations: 41.17 kB / 0.8478 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001828/0.6072, allocations: 432.6 kB / 0.8482 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.278e-05/0.6073, allocations: 177.6 kB / 0.8483 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/0.6074, allocations: 131.9 kB / 0.8485 GB, free: 13.03 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.6075, allocations: 373.2 kB / 0.8488 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003066/0.6079, allocations: 279.1 kB / 0.8491 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003594/0.6082, allocations: 489.7 kB / 0.8496 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006809/0.6089, allocations: 0.8139 MB / 0.8503 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.6089, allocations: 6.656 kB / 0.8504 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001162/0.6101, allocations: 1.074 MB / 0.8514 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.6101, allocations: 8.094 kB / 0.8514 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.6101, allocations: 10.61 kB / 0.8514 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004979/0.6106, allocations: 278.3 kB / 0.8517 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002705/0.6109, allocations: 121 kB / 0.8518 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004079/0.6149, allocations: 6.728 MB / 0.8584 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002651/0.6152, allocations: 38.94 kB / 0.8584 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.452e-05/0.6152, allocations: 27.94 kB / 0.8584 GB, free: 4.582 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,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.0002393/0.6155, allocations: 262 kB / 0.8587 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.002e-05/0.6156, allocations: 77.19 kB / 0.8588 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009952/0.6166, allocations: 0.8741 MB / 0.8596 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.6166, allocations: 9.094 kB / 0.8596 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.6166, allocations: 3.562 kB / 0.8596 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.6166, allocations: 5.578 kB / 0.8596 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001891/0.6185, allocations: 1.694 MB / 0.8613 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.6185, allocations: 6.312 kB / 0.8613 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000135/0.6186, allocations: 54.77 kB / 0.8613 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000424/0.619, allocations: 274.3 kB / 0.8616 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.543e-05/0.619, allocations: 8.125 kB / 0.8616 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00408/0.6231, allocations: 6.721 MB / 0.8682 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.6231, allocations: 1.156 kB / 0.8682 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009639/0.6241, allocations: 0.9789 MB / 0.8691 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001655/0.6243, allocations: 121.2 kB / 0.8692 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.337e-05/0.6243, allocations: 15.78 kB / 0.8693 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001816/0.6245, allocations: 28.66 kB / 0.8693 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.669e-05/0.6246, allocations: 51.06 kB / 0.8693 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-05/0.6246, allocations: 15.69 kB / 0.8694 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003228/0.6249, allocations: 390.9 kB / 0.8697 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6e-08/0.6249, allocations: 1.75 kB / 0.8697 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005848/0.6255, allocations: 220 kB / 0.8699 GB, free: 11.3 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001166/0.6267, allocations: 1.537 MB / 0.8714 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00126/0.6279, allocations: 1.227 MB / 0.8726 GB, free: 9.277 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.6279, allocations: 0.9375 kB / 0.8726 GB, free: 9.277 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007332/0.6286, allocations: 0.8675 MB / 0.8735 GB, free: 8.594 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006693/0.6293, allocations: 220.2 kB / 0.8737 GB, free: 8.48 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006483/0.6358, allocations: 6.41 MB / 0.88 GB, free: 3.953 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004286/0.6362, allocations: 1.012 MB / 0.8809 GB, free: 2.914 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003028/0.6365, allocations: 129.9 kB / 0.8811 GB, free: 2.785 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002235/0.6368, allocations: 251.4 kB / 0.8813 GB, free: 2.539 MB / 0.6511 GB Notification: Performance of SimCode: time 7.52e-07/0.6368, allocations: 0 / 0.8813 GB, free: 2.539 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03696/0.6737, allocations: 18.17 MB / 0.8991 GB, free: 0.6875 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.537/8.211, allocations: 14.69 kB / 0.8991 GB, free: 0.6797 MB / 0.6667 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_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_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.448589225066826] Failed to read output from testmodel.py, exit status != 0: 8.29978729179129 8.312893896 7.716295658 Calling exit ...