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.001228/0.001228, 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.001011/0.001011, allocations: 223.1 kB / 22.26 MB, free: 3.707 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.9998/0.9998, allocations: 230.6 MB / 256 MB, free: 9.816 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.801/0.801, allocations: 203.8 MB / 0.5042 GB, free: 10.78 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.001033/0.001033, allocations: 76.44 kB / 0.7182 GB, free: 4.414 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5621/0.5631, allocations: 102 MB / 0.8179 GB, free: 1.293 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.006808/0.5699, allocations: 6.411 MB / 0.8241 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005603/0.5755, allocations: 3.335 MB / 0.8274 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006188/0.5762, allocations: 45.25 kB / 0.8274 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001631/0.5778, allocations: 0.9779 MB / 0.8284 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001139/0.5789, allocations: 496 kB / 0.8289 GB, free: 9.926 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.5801, allocations: 0.5016 MB / 0.8294 GB, free: 9.676 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001225/0.5813, allocations: 1.106 MB / 0.8304 GB, free: 9.172 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007291/0.582, allocations: 0.5013 MB / 0.8309 GB, free: 8.941 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007062/0.5827, allocations: 459.7 kB / 0.8314 GB, free: 8.746 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007405/0.5835, allocations: 0.4913 MB / 0.8318 GB, free: 8.543 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001364/0.5836, allocations: 57.94 kB / 0.8319 GB, free: 8.543 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001036/0.5846, allocations: 0.4952 MB / 0.8324 GB, free: 8.371 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002929/0.5849, allocations: 287.5 kB / 0.8327 GB, free: 8.258 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000378/0.5853, allocations: 404.9 kB / 0.833 GB, free: 8.016 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0015/0.5868, allocations: 1.188 MB / 0.8342 GB, free: 7.598 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.5868, allocations: 4 kB / 0.8342 GB, free: 7.594 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.075e-06/0.5868, allocations: 0.6875 kB / 0.8342 GB, free: 7.594 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.126e-05/0.5869, allocations: 0.5156 kB / 0.8342 GB, free: 7.594 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.001706/0.5886, allocations: 1.011 MB / 0.8352 GB, free: 6.887 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.5886, allocations: 14.16 kB / 0.8352 GB, free: 6.883 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001215/0.5887, allocations: 117.1 kB / 0.8353 GB, free: 6.801 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009613/0.5897, allocations: 219.2 kB / 0.8355 GB, free: 6.75 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008051/0.5905, allocations: 0.5173 MB / 0.836 GB, free: 6.434 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.092e-05/0.5905, allocations: 54.17 kB / 0.8361 GB, free: 6.402 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.159e-05/0.5906, allocations: 62.28 kB / 0.8361 GB, free: 6.383 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/0.5919, allocations: 1.032 MB / 0.8372 GB, free: 5.781 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.039e-05/0.592, allocations: 12.95 kB / 0.8372 GB, free: 5.773 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.109e-05/0.5921, allocations: 31.98 kB / 0.8372 GB, free: 5.75 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.346e-05/0.5921, allocations: 65.8 kB / 0.8373 GB, free: 5.746 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009495/0.5931, allocations: 0.6908 MB / 0.8379 GB, free: 5.5 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004516/0.5976, allocations: 5.679 MB / 0.8435 GB, free: 348 kB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006406/0.5983, allocations: 413.6 kB / 0.8439 GB, free: 124 kB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005802/0.5988, allocations: 387.6 kB / 0.8442 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.395e-05/0.5989, allocations: 4.125 kB / 0.8442 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.5989, allocations: 41.3 kB / 0.8443 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=41): time 2.274e-06/0.5989, allocations: 0 / 0.8443 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=42): time 0.002801/0.6017, allocations: 1.706 MB / 0.846 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.6017, allocations: 55.69 kB / 0.846 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004275/0.6022, allocations: 466.7 kB / 0.8464 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.6022, allocations: 30.92 kB / 0.8465 GB, free: 14.58 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002034/0.6024, allocations: 403.1 kB / 0.8469 GB, free: 14.22 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.6025, allocations: 159.3 kB / 0.847 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.6026, allocations: 107.8 kB / 0.8471 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.6028, allocations: 371.9 kB / 0.8475 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002596/0.6031, allocations: 241.9 kB / 0.8477 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003666/0.6034, allocations: 451.2 kB / 0.8481 GB, free: 13.15 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006948/0.6041, allocations: 0.7521 MB / 0.8489 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.634e-06/0.6041, allocations: 1.281 kB / 0.8489 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001342/0.6055, allocations: 1.033 MB / 0.8499 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.6055, allocations: 9.125 kB / 0.8499 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/0.6055, allocations: 18.09 kB / 0.8499 GB, free: 12 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006308/0.6061, allocations: 315.9 kB / 0.8502 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001877/0.6063, allocations: 91.86 kB / 0.8503 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005109/0.6114, allocations: 7.065 MB / 0.8572 GB, free: 5.484 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004226/0.6119, allocations: 26.98 kB / 0.8572 GB, free: 5.473 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.325e-05/0.6119, allocations: 25 kB / 0.8572 GB, free: 5.469 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.0003702/0.6123, allocations: 253.2 kB / 0.8575 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.646e-05/0.6123, allocations: 68.64 kB / 0.8575 GB, free: 5.227 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001117/0.6135, allocations: 0.8842 MB / 0.8584 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.6135, allocations: 4.625 kB / 0.8584 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.6135, allocations: 3.656 kB / 0.8584 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.6135, allocations: 1.094 kB / 0.8584 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002179/0.6157, allocations: 1.64 MB / 0.86 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.6157, allocations: 1.344 kB / 0.86 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.6158, allocations: 45.66 kB / 0.8601 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005195/0.6163, allocations: 303.1 kB / 0.8604 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.709e-05/0.6163, allocations: 11.81 kB / 0.8604 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004841/0.6211, allocations: 7.057 MB / 0.8673 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.6212, allocations: 6.562 kB / 0.8673 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/0.6224, allocations: 0.9803 MB / 0.8682 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002015/0.6226, allocations: 100 kB / 0.8683 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.567e-05/0.6226, allocations: 16.31 kB / 0.8683 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.6228, allocations: 24.66 kB / 0.8684 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.277e-05/0.6228, allocations: 49.45 kB / 0.8684 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/0.6229, allocations: 9.938 kB / 0.8684 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002852/0.6231, allocations: 316.6 kB / 0.8687 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7e-08/0.6231, allocations: 3.938 kB / 0.8687 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006949/0.6238, allocations: 194.2 kB / 0.8689 GB, free: 12.08 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.001301/0.6251, allocations: 1.536 MB / 0.8704 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001405/0.6265, allocations: 1.142 MB / 0.8715 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.6266, allocations: 0 / 0.8715 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000762/0.6273, allocations: 0.8357 MB / 0.8723 GB, free: 9.41 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009703/0.6283, allocations: 208.7 kB / 0.8725 GB, free: 9.309 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006133/0.6344, allocations: 5.869 MB / 0.8783 GB, free: 5.211 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005148/0.6349, allocations: 0.9964 MB / 0.8792 GB, free: 4.363 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002889/0.6352, allocations: 93.36 kB / 0.8793 GB, free: 4.32 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001975/0.6354, allocations: 227 kB / 0.8795 GB, free: 4.125 MB / 0.6511 GB Notification: Performance of SimCode: time 9.52e-07/0.6354, allocations: 5.188 kB / 0.8796 GB, free: 4.121 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04446/0.6799, allocations: 15.99 MB / 0.8952 GB, free: 4.727 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.586/8.266, allocations: 11.83 kB / 0.8952 GB, free: 4.719 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.328319078078493] Failed to read output from testmodel.py, exit status != 0: 8.352181779919192 8.362420535 7.773821515 Calling exit ...