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.001444/0.001444, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.00201/0.00201, allocations: 215 kB / 22.25 MB, free: 4.859 MB / 14.72 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.493/1.493, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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 1.258/1.258, allocations: 203.8 MB / 0.5042 GB, free: 4.586 MB / 414.1 MB " [Timeout remaining time 178] 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: translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") [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.002146/0.002146, allocations: 71.88 kB / 0.7187 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6237/0.6259, allocations: 102 MB / 0.8183 GB, free: 28.88 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02991/0.6558, allocations: 25.56 MB / 0.8432 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01692/0.6727, allocations: 8.086 MB / 0.8511 GB, free: 7.648 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003205/0.6759, allocations: 154.9 kB / 0.8513 GB, free: 7.574 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.007376/0.6833, allocations: 2.774 MB / 0.854 GB, free: 6.004 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005787/0.6891, allocations: 1.664 MB / 0.8556 GB, free: 4.977 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005157/0.6942, allocations: 1.684 MB / 0.8573 GB, free: 4.035 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.008559/0.7028, allocations: 6.147 MB / 0.8633 GB, free: 0.6055 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005761/0.7085, allocations: 3.743 MB / 0.8669 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00556/0.7141, allocations: 2.669 MB / 0.8695 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006503/0.7206, allocations: 2.819 MB / 0.8723 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001059/0.7217, allocations: 0.513 MB / 0.8728 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0036/0.7253, allocations: 1.203 MB / 0.874 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002852/0.7281, allocations: 2.103 MB / 0.876 GB, free: 9.227 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.004967/0.7331, allocations: 1.924 MB / 0.8779 GB, free: 8.023 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01286/0.746, allocations: 8.112 MB / 0.8858 GB, free: 1.059 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.746, allocations: 3.938 kB / 0.8858 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of FrontEnd: time 4.418e-06/0.746, allocations: 4 kB / 0.8858 GB, free: 1.051 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002458/0.7462, allocations: 3.984 kB / 0.8858 GB, free: 1.047 MB / 0.6544 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.01127/0.7575, allocations: 4.264 MB / 0.89 GB, free: 12.73 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.623e-05/0.7575, allocations: 9.469 kB / 0.89 GB, free: 12.72 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004695/0.7622, allocations: 0.8257 MB / 0.8908 GB, free: 11.89 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006514/0.7687, allocations: 2.53 MB / 0.8933 GB, free: 9.293 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002662/0.769, allocations: 275.6 kB / 0.8935 GB, free: 9.023 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001073/0.7701, allocations: 376.6 kB / 0.8939 GB, free: 8.656 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01212/0.7822, allocations: 6.436 MB / 0.9002 GB, free: 1.855 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001056/0.7823, allocations: 27.81 kB / 0.9002 GB, free: 1.828 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004001/0.7827, allocations: 156 kB / 0.9004 GB, free: 1.676 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006406/0.7834, allocations: 278.9 kB / 0.9006 GB, free: 1.402 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008356/0.7917, allocations: 4.516 MB / 0.905 GB, free: 12.88 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02718/0.8189, allocations: 17.41 MB / 0.922 GB, free: 10.96 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00175/0.8206, allocations: 1.067 MB / 0.9231 GB, free: 9.891 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001408/0.8221, allocations: 0.9561 MB / 0.924 GB, free: 8.938 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.125e-05/0.8221, allocations: 13 kB / 0.924 GB, free: 8.926 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.29e-05/0.8222, allocations: 47.56 kB / 0.9241 GB, free: 8.867 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=110): time 3.196e-06/0.8222, allocations: 0 / 0.9241 GB, free: 8.867 MB / 0.7012 GB Notification: Performance of matching and sorting (n=131): time 0.02317/0.8453, allocations: 9.09 MB / 0.9329 GB, free: 15.73 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.279e-05/0.8454, allocations: 68.66 kB / 0.933 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002295/0.8477, allocations: 1.397 MB / 0.9344 GB, free: 14.24 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001462/0.8479, allocations: 49.7 kB / 0.9344 GB, free: 14.19 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001407/0.8493, allocations: 1.73 MB / 0.9361 GB, free: 12.44 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.000575/0.8498, allocations: 495.7 kB / 0.9366 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005718/0.8504, allocations: 327.4 kB / 0.9369 GB, free: 11.62 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.8506, allocations: 305.1 kB / 0.9372 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00144/0.852, allocations: 0.9174 MB / 0.9381 GB, free: 10.41 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002196/0.8542, allocations: 1.459 MB / 0.9395 GB, free: 8.707 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003689/0.8579, allocations: 2.546 MB / 0.942 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.139e-05/0.8579, allocations: 7.938 kB / 0.942 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006411/0.8643, allocations: 3.259 MB / 0.9452 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.285e-05/0.8643, allocations: 19.92 kB / 0.9452 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.484e-05/0.8644, allocations: 16 kB / 0.9452 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002505/0.8669, allocations: 0.7416 MB / 0.9459 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001633/0.8685, allocations: 387.3 kB / 0.9463 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01832/0.8868, allocations: 15.81 MB / 0.9617 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001767/0.8886, allocations: 103.9 kB / 0.9618 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000157/0.8887, allocations: 72 kB / 0.9619 GB, free: 0.5273 MB / 0.7325 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.003329/0.8921, allocations: 1.314 MB / 0.9632 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005406/0.8926, allocations: 191 kB / 0.9634 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005685/0.8983, allocations: 2.769 MB / 0.9661 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.546e-05/0.8983, allocations: 12 kB / 0.9661 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.447e-05/0.8983, allocations: 11.98 kB / 0.9661 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.8983, allocations: 11.86 kB / 0.9661 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01071/0.909, allocations: 5.337 MB / 0.9713 GB, free: 6.688 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.47e-05/0.9091, allocations: 8.656 kB / 0.9713 GB, free: 6.68 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001287/0.9103, allocations: 231.6 kB / 0.9716 GB, free: 6.453 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002224/0.9126, allocations: 0.6671 MB / 0.9722 GB, free: 5.758 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001064/0.9127, allocations: 28 kB / 0.9722 GB, free: 5.73 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01784/0.9305, allocations: 15.57 MB / 0.9874 GB, free: 5.242 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.207e-06/0.9305, allocations: 16.06 kB / 0.9875 GB, free: 5.227 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007062/0.9376, allocations: 3.974 MB / 0.9913 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00122/0.9388, allocations: 374.6 kB / 0.9917 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002211/0.939, allocations: 44.06 kB / 0.9917 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008815/0.9399, allocations: 79.89 kB / 0.9918 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003491/0.9403, allocations: 124.6 kB / 0.9919 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-05/0.9404, allocations: 36 kB / 0.992 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001444/0.9418, allocations: 0.9088 MB / 0.9928 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.9418, allocations: 0 / 0.9928 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.002521/0.9443, allocations: 0.6836 MB / 0.9935 GB, free: 14.91 MB / 0.7794 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.0002813/0.9446, allocations: 156.2 kB / 0.9937 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.005713/0.9503, allocations: 3.389 MB / 0.997 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.9503, allocations: 0 / 0.997 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.003462/0.9538, allocations: 2.241 MB / 0.9992 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002778/0.9566, allocations: 0.6354 MB / 0.9998 GB, free: 8.297 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01322/0.9698, allocations: 6.639 MB / 1.006 GB, free: 1.57 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003108/0.9729, allocations: 2.109 MB / 1.008 GB, free: 15.43 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001654/0.9745, allocations: 476.4 kB / 1.009 GB, free: 14.96 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003323/0.9749, allocations: 107.4 kB / 1.009 GB, free: 14.85 MB / 0.795 GB Notification: Performance of SimCode: time 1.753e-06/0.9749, allocations: 0 / 1.009 GB, free: 14.85 MB / 0.795 GB Notification: Performance of Templates: time 0.07181/1.047, allocations: 37.82 MB / 1.046 GB, free: 9.656 MB / 0.8262 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.931818617507815] Failed to read output from testmodel.py, exit status != 0: 1.0572835113853216 1.073190142 0.323715114 Calling exit ...