Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.001124/0.001124, allocations: 109.5 kB / 18.95 MB, free: 1.184 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.001456/0.001456, allocations: 214.2 kB / 22.25 MB, free: 3.578 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.9829/0.9829, allocations: 230.6 MB / 256 MB, free: 9.648 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.7727/0.7727, allocations: 203.8 MB / 0.5042 GB, free: 10.43 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",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.001503/0.001503, allocations: 62.62 kB / 0.7182 GB, free: 4.035 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.497/0.4985, allocations: 102 MB / 0.8178 GB, free: 1.047 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.0214/0.5199, allocations: 25.57 MB / 0.8428 GB, free: 1.094 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01122/0.5311, allocations: 8.092 MB / 0.8507 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002388/0.5335, allocations: 153.4 kB / 0.8508 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.003731/0.5372, allocations: 2.774 MB / 0.8535 GB, free: 8.871 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.00347/0.5407, allocations: 1.665 MB / 0.8552 GB, free: 7.5 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002996/0.5437, allocations: 1.684 MB / 0.8568 GB, free: 6.129 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.006707/0.5504, allocations: 6.141 MB / 0.8628 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005091/0.5555, allocations: 3.734 MB / 0.8664 GB, free: 216 kB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00471/0.5602, allocations: 2.681 MB / 0.8691 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005155/0.5654, allocations: 2.816 MB / 0.8718 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001791/0.5671, allocations: 0.5079 MB / 0.8723 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002983/0.5701, allocations: 1.203 MB / 0.8735 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.00213/0.5723, allocations: 2.1 MB / 0.8755 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.003236/0.5755, allocations: 1.93 MB / 0.8774 GB, free: 8.473 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.007236/0.5827, allocations: 8.122 MB / 0.8853 GB, free: 332 kB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.5827, allocations: 0 / 0.8853 GB, free: 332 kB / 0.6511 GB Notification: Performance of FrontEnd: time 2.164e-06/0.5827, allocations: 0 / 0.8853 GB, free: 332 kB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001929/0.5829, allocations: 0 / 0.8853 GB, free: 332 kB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.007879/0.5908, allocations: 4.26 MB / 0.8895 GB, free: 12.01 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.5909, allocations: 8.031 kB / 0.8895 GB, free: 12 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007692/0.5916, allocations: 0.5421 MB / 0.89 GB, free: 11.45 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002951/0.5946, allocations: 0.8218 MB / 0.8908 GB, free: 10.63 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004259/0.5988, allocations: 2.538 MB / 0.8933 GB, free: 8.023 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001377/0.599, allocations: 271.6 kB / 0.8936 GB, free: 7.758 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006289/0.5996, allocations: 380.4 kB / 0.8939 GB, free: 7.387 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007986/0.6076, allocations: 6.444 MB / 0.9002 GB, free: 0.5781 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.995e-05/0.6077, allocations: 19.83 kB / 0.9003 GB, free: 0.5586 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002459/0.6079, allocations: 156 kB / 0.9004 GB, free: 416 kB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003414/0.6082, allocations: 282.9 kB / 0.9007 GB, free: 132 kB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00501/0.6133, allocations: 4.516 MB / 0.9051 GB, free: 11.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01614/0.6294, allocations: 18.01 MB / 0.9227 GB, free: 9.07 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001322/0.6307, allocations: 1.06 MB / 0.9237 GB, free: 7.996 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000867/0.6316, allocations: 0.9563 MB / 0.9246 GB, free: 7.039 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.229e-05/0.6316, allocations: 13 kB / 0.9247 GB, free: 7.027 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.116e-05/0.6317, allocations: 47.56 kB / 0.9247 GB, free: 6.969 MB / 0.698 GB Notification: Performance of pre-optimization done (n=110): time 4.097e-06/0.6317, allocations: 0 / 0.9247 GB, free: 6.969 MB / 0.698 GB Notification: Performance of matching and sorting (n=131): time 0.01314/0.6448, allocations: 9.101 MB / 0.9336 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/0.6449, allocations: 68.72 kB / 0.9337 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001805/0.6467, allocations: 1.529 MB / 0.9351 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.604e-05/0.6468, allocations: 49.7 kB / 0.9352 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007604/0.6475, allocations: 1.715 MB / 0.9369 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002653/0.6478, allocations: 491.8 kB / 0.9373 GB, free: 9.93 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003216/0.6481, allocations: 327.4 kB / 0.9377 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.36e-05/0.6482, allocations: 317.1 kB / 0.938 GB, free: 9.289 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009481/0.6491, allocations: 0.9057 MB / 0.9388 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001158/0.6503, allocations: 1.467 MB / 0.9403 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002217/0.6525, allocations: 2.542 MB / 0.9428 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.6525, allocations: 8 kB / 0.9428 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.003712/0.6562, allocations: 3.279 MB / 0.946 GB, free: 0.5703 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/0.6563, allocations: 12 kB / 0.946 GB, free: 0.5586 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.6563, allocations: 16 kB / 0.946 GB, free: 0.543 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001258/0.6575, allocations: 0.7377 MB / 0.9467 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000851/0.6584, allocations: 383.4 kB / 0.9471 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01028/0.6687, allocations: 16.02 MB / 0.9627 GB, free: 14.35 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001563/0.6702, allocations: 99.91 kB / 0.9628 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/0.6703, allocations: 76.14 kB / 0.9629 GB, free: 14.18 MB / 0.7448 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,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.002203/0.6725, allocations: 1.315 MB / 0.9642 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002478/0.6728, allocations: 218.7 kB / 0.9644 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003008/0.6758, allocations: 2.769 MB / 0.9671 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.6758, allocations: 12 kB / 0.9671 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.6758, allocations: 8 kB / 0.9671 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.6758, allocations: 7.969 kB / 0.9671 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006564/0.6824, allocations: 5.888 MB / 0.9729 GB, free: 3.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.6824, allocations: 4.656 kB / 0.9729 GB, free: 3.746 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006276/0.683, allocations: 235.6 kB / 0.9731 GB, free: 3.516 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001102/0.6841, allocations: 0.6671 MB / 0.9737 GB, free: 2.82 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.794e-05/0.6842, allocations: 28 kB / 0.9738 GB, free: 2.793 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0107/0.6949, allocations: 15.76 MB / 0.9892 GB, free: 1.996 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/0.6949, allocations: 16.06 kB / 0.9892 GB, free: 1.98 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004611/0.6995, allocations: 3.986 MB / 0.9931 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008378/0.7003, allocations: 382.6 kB / 0.9934 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001502/0.7005, allocations: 43.88 kB / 0.9935 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005213/0.701, allocations: 79.89 kB / 0.9936 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002481/0.7013, allocations: 124.7 kB / 0.9937 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.211e-05/0.7013, allocations: 43.88 kB / 0.9937 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001023/0.7023, allocations: 0.9903 MB / 0.9947 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.6e-07/0.7023, allocations: 0 / 0.9947 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001798/0.7041, allocations: 0.6875 MB / 0.9954 GB, free: 11.56 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,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%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004225/0.7084, allocations: 4.589 MB / 0.9998 GB, free: 6.848 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.003574/0.7119, allocations: 3.382 MB / 1.003 GB, free: 3.348 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.7119, allocations: 0 / 1.003 GB, free: 3.348 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.002152/0.7141, allocations: 2.24 MB / 1.005 GB, free: 0.9883 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002054/0.7161, allocations: 0.6861 MB / 1.006 GB, free: 356 kB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02453/0.7407, allocations: 21.3 MB / 1.027 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001898/0.7426, allocations: 2.113 MB / 1.029 GB, free: 8.031 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.001113/0.7437, allocations: 489.4 kB / 1.029 GB, free: 7.551 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00103/0.7447, allocations: 1.28 MB / 1.031 GB, free: 6.27 MB / 0.8073 GB Notification: Performance of SimCode: time 1.833e-06/0.7447, allocations: 0 / 1.031 GB, free: 6.27 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09073/0.8354, allocations: 61.41 MB / 1.091 GB, free: 9.551 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.303/9.138, allocations: 3.859 kB / 1.091 GB, free: 9.547 MB / 0.8698 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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_RL.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.217879632953554] Failed to read output from testmodel.py, exit status != 0: 9.242483266163617 9.255488347 8.668682949 Calling exit ...