Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.0009064/0.0009064, 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.001084/0.001084, allocations: 221.7 kB / 22.26 MB, free: 3.691 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 1.008/1.008, allocations: 230.6 MB / 256 MB, free: 9.805 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.8107/0.8107, allocations: 203.8 MB / 0.5042 GB, free: 10.73 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_L,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",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.001354/0.001354, allocations: 61.22 kB / 0.7182 GB, free: 4.34 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5672/0.5686, allocations: 102 MB / 0.8179 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.006526/0.5751, allocations: 6.419 MB / 0.8241 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004219/0.5793, allocations: 3.337 MB / 0.8274 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004617/0.5798, allocations: 41.84 kB / 0.8274 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001364/0.5811, allocations: 0.9675 MB / 0.8284 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001097/0.5822, allocations: 497.5 kB / 0.8289 GB, free: 9.895 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.5834, allocations: 0.5086 MB / 0.8293 GB, free: 9.637 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001149/0.5846, allocations: 1.094 MB / 0.8304 GB, free: 9.145 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007047/0.5853, allocations: 0.509 MB / 0.8309 GB, free: 8.906 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000641/0.5859, allocations: 460.3 kB / 0.8314 GB, free: 8.711 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007397/0.5867, allocations: 0.4944 MB / 0.8318 GB, free: 8.504 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001363/0.5868, allocations: 58.31 kB / 0.8319 GB, free: 8.504 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001061/0.5879, allocations: 0.4918 MB / 0.8324 GB, free: 8.336 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003102/0.5882, allocations: 294.8 kB / 0.8327 GB, free: 8.215 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003474/0.5885, allocations: 400 kB / 0.833 GB, free: 7.977 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001499/0.59, allocations: 1.185 MB / 0.8342 GB, free: 7.562 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.59, allocations: 0 / 0.8342 GB, free: 7.562 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.903e-06/0.59, allocations: 5.531 kB / 0.8342 GB, free: 7.559 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.246e-05/0.59, allocations: 0 / 0.8342 GB, free: 7.559 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001419/0.5915, allocations: 1.011 MB / 0.8352 GB, free: 6.852 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.5915, allocations: 9.562 kB / 0.8352 GB, free: 6.852 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001115/0.5916, allocations: 121.9 kB / 0.8353 GB, free: 6.766 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009133/0.5925, allocations: 220 kB / 0.8355 GB, free: 6.715 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007159/0.5933, allocations: 0.5237 MB / 0.836 GB, free: 6.391 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.469e-05/0.5933, allocations: 46.31 kB / 0.8361 GB, free: 6.367 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.808e-05/0.5934, allocations: 62.39 kB / 0.8361 GB, free: 6.348 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001163/0.5945, allocations: 1.033 MB / 0.8371 GB, free: 5.746 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.469e-05/0.5946, allocations: 11.09 kB / 0.8372 GB, free: 5.738 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.552e-05/0.5946, allocations: 29.95 kB / 0.8372 GB, free: 5.719 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.737e-05/0.5947, allocations: 68.03 kB / 0.8372 GB, free: 5.711 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008686/0.5955, allocations: 0.6918 MB / 0.8379 GB, free: 5.465 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003698/0.5992, allocations: 5.676 MB / 0.8435 GB, free: 276 kB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005488/0.5998, allocations: 412.3 kB / 0.8439 GB, free: 52 kB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005458/0.6003, allocations: 399.5 kB / 0.8442 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.918e-05/0.6004, allocations: 3.719 kB / 0.8442 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.6004, allocations: 37.19 kB / 0.8443 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=41): time 2.735e-06/0.6004, allocations: 0 / 0.8443 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of matching and sorting (n=42): time 0.002831/0.6032, allocations: 1.709 MB / 0.8459 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/0.6032, allocations: 55.56 kB / 0.846 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004114/0.6037, allocations: 467.1 kB / 0.8464 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.6037, allocations: 34.92 kB / 0.8465 GB, free: 14.49 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001873/0.6039, allocations: 402.4 kB / 0.8469 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.563e-05/0.604, allocations: 155.7 kB / 0.847 GB, free: 14 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.6041, allocations: 107.8 kB / 0.8471 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.6042, allocations: 364.4 kB / 0.8475 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002612/0.6045, allocations: 245.9 kB / 0.8477 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000341/0.6048, allocations: 455.1 kB / 0.8481 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006614/0.6055, allocations: 0.7397 MB / 0.8489 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.6055, allocations: 1.188 kB / 0.8489 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001207/0.6067, allocations: 1.038 MB / 0.8499 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.6067, allocations: 8.781 kB / 0.8499 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.6067, allocations: 10.25 kB / 0.8499 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005682/0.6073, allocations: 319.5 kB / 0.8502 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001932/0.6075, allocations: 100.6 kB / 0.8503 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005008/0.6125, allocations: 7.065 MB / 0.8572 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003544/0.6128, allocations: 31.52 kB / 0.8572 GB, free: 5.391 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.032e-05/0.6129, allocations: 25.47 kB / 0.8572 GB, free: 5.387 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003347/0.6132, allocations: 244 kB / 0.8575 GB, free: 5.191 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.067e-05/0.6133, allocations: 73.23 kB / 0.8575 GB, free: 5.148 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001059/0.6143, allocations: 0.8847 MB / 0.8584 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.6143, allocations: 4.469 kB / 0.8584 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.6143, allocations: 3.594 kB / 0.8584 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.6143, allocations: 9.234 kB / 0.8584 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001846/0.6162, allocations: 1.64 MB / 0.86 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.6162, allocations: 1.531 kB / 0.86 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.473e-05/0.6163, allocations: 37.91 kB / 0.8601 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005188/0.6168, allocations: 307.6 kB / 0.8604 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.098e-05/0.6168, allocations: 6.531 kB / 0.8604 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0045/0.6213, allocations: 7.065 MB / 0.8673 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.6213, allocations: 10.5 kB / 0.8673 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.6224, allocations: 0.9728 MB / 0.8682 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002092/0.6227, allocations: 108.6 kB / 0.8683 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.155e-05/0.6227, allocations: 10.97 kB / 0.8683 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.6228, allocations: 21.58 kB / 0.8684 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.948e-05/0.6229, allocations: 45.92 kB / 0.8684 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.623, allocations: 9.312 kB / 0.8684 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002953/0.6233, allocations: 315.9 kB / 0.8687 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6e-08/0.6233, allocations: 0 / 0.8687 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000741/0.624, allocations: 198.2 kB / 0.8689 GB, free: 12 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,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.001292/0.6253, allocations: 1.538 MB / 0.8704 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001334/0.6266, allocations: 1.145 MB / 0.8715 GB, free: 10 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.6266, allocations: 1.125 kB / 0.8715 GB, free: 10 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007454/0.6274, allocations: 0.8352 MB / 0.8723 GB, free: 9.328 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006872/0.6281, allocations: 203.2 kB / 0.8725 GB, free: 9.234 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00716/0.6352, allocations: 5.875 MB / 0.8783 GB, free: 5.129 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006664/0.6359, allocations: 0.991 MB / 0.8792 GB, free: 4.285 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003812/0.6363, allocations: 102.4 kB / 0.8793 GB, free: 4.234 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001948/0.6365, allocations: 227.1 kB / 0.8795 GB, free: 4.039 MB / 0.6511 GB Notification: Performance of SimCode: time 1.082e-06/0.6365, allocations: 1.156 kB / 0.8795 GB, free: 4.039 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03317/0.6696, allocations: 15.99 MB / 0.8952 GB, free: 4.621 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.419/8.089, allocations: 3.453 kB / 0.8952 GB, free: 4.621 MB / 0.6667 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.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 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.276500083971769] Failed to read output from testmodel.py, exit status != 0: 8.17385096102953 8.183313278 7.59124134 Calling exit ...