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.0007713/0.0007713, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008418/0.0008418, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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.9087/0.9087, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.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.717/0.717, allocations: 154.5 MB / 413.7 MB, free: 0.8398 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.751e-05/1.88e-05, allocations: 3.781 kB / 0.6181 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.005769/0.005788, allocations: 6.45 MB / 0.6244 GB, free: 7.27 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003902/0.00969, allocations: 3.02 MB / 0.6273 GB, free: 4.238 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003537/0.01004, allocations: 39.62 kB / 0.6273 GB, free: 4.199 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001195/0.01124, allocations: 0.9485 MB / 0.6283 GB, free: 3.25 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0008573/0.0121, allocations: 0.5396 MB / 0.6288 GB, free: 2.707 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006895/0.01279, allocations: 446.7 kB / 0.6292 GB, free: 2.27 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0009847/0.01377, allocations: 1.271 MB / 0.6305 GB, free: 0.9922 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006243/0.0144, allocations: 0.5373 MB / 0.631 GB, free: 456 kB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007714/0.01517, allocations: 0.6701 MB / 0.6316 GB, free: 15.77 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005242/0.01569, allocations: 478.6 kB / 0.6321 GB, free: 15.3 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.322e-05/0.01576, allocations: 64 kB / 0.6322 GB, free: 15.24 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005114/0.01628, allocations: 347.1 kB / 0.6325 GB, free: 14.9 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002077/0.01648, allocations: 335 kB / 0.6328 GB, free: 14.57 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002041/0.01669, allocations: 315.2 kB / 0.6331 GB, free: 14.27 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0008958/0.01758, allocations: 1.246 MB / 0.6343 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.01758, allocations: 0 / 0.6343 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of FrontEnd: time 8.81e-07/0.01759, allocations: 4 kB / 0.6343 GB, free: 13.01 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.604e-05/0.0176, allocations: 0 / 0.6343 GB, free: 13.01 MB / 0.6042 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.001205/0.01881, allocations: 1.104 MB / 0.6354 GB, free: 11.88 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.619e-05/0.01883, allocations: 17.47 kB / 0.6354 GB, free: 11.86 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.793e-05/0.01892, allocations: 118.7 kB / 0.6355 GB, free: 11.73 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007582/0.01968, allocations: 244.1 kB / 0.6358 GB, free: 11.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005525/0.02023, allocations: 0.543 MB / 0.6363 GB, free: 10.93 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/0.02025, allocations: 45.69 kB / 0.6363 GB, free: 10.89 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.096e-05/0.02032, allocations: 64.36 kB / 0.6364 GB, free: 10.82 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009607/0.02128, allocations: 1.332 MB / 0.6377 GB, free: 9.32 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.02129, allocations: 12.12 kB / 0.6377 GB, free: 9.309 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.156e-05/0.02134, allocations: 36.11 kB / 0.6378 GB, free: 9.273 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.898e-05/0.02142, allocations: 85.25 kB / 0.6378 GB, free: 9.188 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007304/0.02215, allocations: 0.7465 MB / 0.6386 GB, free: 8.438 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002827/0.02498, allocations: 4.628 MB / 0.6431 GB, free: 3.641 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005796/0.02556, allocations: 0.5049 MB / 0.6436 GB, free: 3.125 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002594/0.02582, allocations: 289.8 kB / 0.6438 GB, free: 2.844 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.02584, allocations: 8.438 kB / 0.6439 GB, free: 2.836 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/0.02586, allocations: 47 kB / 0.6439 GB, free: 2.781 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=47): time 1.242e-06/0.02586, allocations: 0 / 0.6439 GB, free: 2.781 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.001994/0.02786, allocations: 1.685 MB / 0.6455 GB, free: 1.078 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/0.02789, allocations: 55.91 kB / 0.6456 GB, free: 1.008 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004012/0.02829, allocations: 0.578 MB / 0.6462 GB, free: 428 kB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.78e-05/0.02831, allocations: 37.7 kB / 0.6462 GB, free: 384 kB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001734/0.02849, allocations: 424.2 kB / 0.6466 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.939e-05/0.02858, allocations: 182.5 kB / 0.6468 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.02869, allocations: 122.6 kB / 0.6469 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.825e-05/0.02879, allocations: 374.8 kB / 0.6473 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002537/0.02904, allocations: 277.8 kB / 0.6475 GB, free: 15 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003414/0.02938, allocations: 497 kB / 0.648 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006441/0.03003, allocations: 0.8085 MB / 0.6488 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.03003, allocations: 4 kB / 0.6488 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001062/0.03109, allocations: 1.078 MB / 0.6498 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.0311, allocations: 14.28 kB / 0.6499 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.03111, allocations: 4 kB / 0.6499 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004256/0.03154, allocations: 283.4 kB / 0.6501 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002299/0.03177, allocations: 123.8 kB / 0.6502 GB, free: 12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003731/0.0355, allocations: 6.677 MB / 0.6568 GB, free: 4.852 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000253/0.03575, allocations: 39.95 kB / 0.6568 GB, free: 4.812 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.698e-05/0.03578, allocations: 28 kB / 0.6568 GB, free: 4.785 MB / 0.6198 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.0001977/0.03597, allocations: 258.6 kB / 0.6571 GB, free: 4.523 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.416e-05/0.03604, allocations: 79.47 kB / 0.6572 GB, free: 4.445 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008726/0.03691, allocations: 0.8785 MB / 0.658 GB, free: 3.543 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.03691, allocations: 4 kB / 0.658 GB, free: 3.539 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.03692, allocations: 11.88 kB / 0.658 GB, free: 3.527 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.03692, allocations: 7.984 kB / 0.658 GB, free: 3.52 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001499/0.03842, allocations: 1.603 MB / 0.6596 GB, free: 1.836 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.03843, allocations: 0 / 0.6596 GB, free: 1.836 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/0.03855, allocations: 59.89 kB / 0.6597 GB, free: 1.777 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003874/0.03894, allocations: 271.3 kB / 0.6599 GB, free: 1.5 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.998e-05/0.03896, allocations: 11.94 kB / 0.6599 GB, free: 1.488 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003523/0.04248, allocations: 6.674 MB / 0.6664 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.04248, allocations: 7.969 kB / 0.6665 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008608/0.04334, allocations: 0.974 MB / 0.6674 GB, free: 9.324 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001425/0.04349, allocations: 115.5 kB / 0.6675 GB, free: 9.211 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.932e-05/0.04352, allocations: 15.98 kB / 0.6675 GB, free: 9.195 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.0437, allocations: 27.97 kB / 0.6676 GB, free: 9.168 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.039e-05/0.04378, allocations: 51.86 kB / 0.6676 GB, free: 9.117 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.796e-05/0.0438, allocations: 16 kB / 0.6676 GB, free: 9.102 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002604/0.04406, allocations: 387.1 kB / 0.668 GB, free: 8.73 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.01e-07/0.04406, allocations: 0 / 0.668 GB, free: 8.73 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004758/0.04453, allocations: 224 kB / 0.6682 GB, free: 8.512 MB / 0.6355 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.001069/0.0456, allocations: 1.542 MB / 0.6697 GB, free: 6.918 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001103/0.0467, allocations: 1.221 MB / 0.6709 GB, free: 5.645 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.04671, allocations: 4.125 kB / 0.6709 GB, free: 5.641 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006397/0.04735, allocations: 0.8733 MB / 0.6718 GB, free: 4.719 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005425/0.04789, allocations: 216.1 kB / 0.672 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2514/0.2993, allocations: 6.385 MB / 0.6782 GB, free: 94.27 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.2996, allocations: 414.9 kB / 0.6786 GB, free: 94.18 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003494/0.3, allocations: 124.5 kB / 0.6787 GB, free: 94.17 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002109/0.3002, allocations: 249.9 kB / 0.679 GB, free: 94.17 MB / 0.6355 GB Notification: Performance of SimCode: time 1.393e-06/0.3002, allocations: 1.375 kB / 0.679 GB, free: 94.17 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03659/0.3368, allocations: 19.44 MB / 0.6979 GB, free: 92.04 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.642/7.979, allocations: 8.734 kB / 0.6979 GB, free: 92.03 MB / 0.6355 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: 10.762693542987108] Failed to read output from testmodel.py, exit status != 0: 8.070888345129788 8.079377732 8.060045809 Calling exit ...