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.0007816/0.0007816, allocations: 115 kB / 19.7 MB, free: 0.5234 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.0008053/0.0008053, allocations: 211.7 kB / 23.01 MB, free: 3.094 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.9076/0.9076, allocations: 230.6 MB / 256.8 MB, free: 9.793 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.7771/0.7771, allocations: 203.8 MB / 0.5049 GB, free: 10.67 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: 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.0009315/0.0009315, allocations: 66.34 kB / 0.7195 GB, free: 3.797 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4814/0.4823, allocations: 102 MB / 0.8191 GB, free: 1.535 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02244/0.5048, allocations: 27.93 MB / 0.8464 GB, free: 15.06 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01266/0.5174, allocations: 8.393 MB / 0.8546 GB, free: 8.57 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003381/0.5208, allocations: 153.6 kB / 0.8547 GB, free: 8.496 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.003909/0.5247, allocations: 2.889 MB / 0.8575 GB, free: 6.285 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003863/0.5286, allocations: 1.668 MB / 0.8592 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003197/0.5318, allocations: 1.727 MB / 0.8609 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.006539/0.5383, allocations: 6.149 MB / 0.8669 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004649/0.543, allocations: 3.775 MB / 0.8705 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004435/0.5474, allocations: 2.654 MB / 0.8731 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004815/0.5522, allocations: 3.003 MB / 0.8761 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001452/0.5537, allocations: 0.5084 MB / 0.8766 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002889/0.5566, allocations: 1.303 MB / 0.8778 GB, free: 9.609 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.001748/0.5583, allocations: 2.104 MB / 0.8799 GB, free: 7.5 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.003326/0.5616, allocations: 2.381 MB / 0.8822 GB, free: 5.109 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.007031/0.5687, allocations: 8.086 MB / 0.8901 GB, free: 13 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.5687, allocations: 0 / 0.8901 GB, free: 13 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.635e-06/0.5687, allocations: 0 / 0.8901 GB, free: 13 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002258/0.5689, allocations: 0 / 0.8901 GB, free: 13 MB / 0.6667 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.006842/0.5757, allocations: 4.26 MB / 0.8943 GB, free: 8.688 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.5758, allocations: 8.031 kB / 0.8943 GB, free: 8.68 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002436/0.5782, allocations: 0.8218 MB / 0.8951 GB, free: 7.855 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004255/0.5825, allocations: 2.534 MB / 0.8976 GB, free: 5.254 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001369/0.5826, allocations: 271.7 kB / 0.8978 GB, free: 4.988 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005711/0.5832, allocations: 376.6 kB / 0.8982 GB, free: 4.621 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007031/0.5902, allocations: 5.992 MB / 0.904 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.914e-05/0.5903, allocations: 19.81 kB / 0.904 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002496/0.5905, allocations: 156 kB / 0.9042 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003343/0.5909, allocations: 286.9 kB / 0.9045 GB, free: 13.92 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005279/0.5962, allocations: 4.516 MB / 0.9089 GB, free: 9.395 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01989/0.6161, allocations: 27.24 MB / 0.9355 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/0.6171, allocations: 1.06 MB / 0.9365 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008361/0.6179, allocations: 0.9563 MB / 0.9375 GB, free: 9.617 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.89e-05/0.618, allocations: 13 kB / 0.9375 GB, free: 9.605 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.618, allocations: 47.5 kB / 0.9375 GB, free: 9.547 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=110): time 3.536e-06/0.618, allocations: 0 / 0.9375 GB, free: 9.547 MB / 0.7136 GB Notification: Performance of matching and sorting (n=131): time 0.01319/0.6312, allocations: 9.105 MB / 0.9464 GB, free: 396 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.6313, allocations: 68.66 kB / 0.9465 GB, free: 312 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001375/0.6326, allocations: 1.494 MB / 0.9479 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.213e-05/0.6327, allocations: 45.7 kB / 0.948 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007247/0.6334, allocations: 1.715 MB / 0.9496 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002793/0.6337, allocations: 499.8 kB / 0.9501 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003138/0.634, allocations: 331.4 kB / 0.9504 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.911e-05/0.6341, allocations: 305.1 kB / 0.9507 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008718/0.635, allocations: 0.9135 MB / 0.9516 GB, free: 10.99 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001095/0.6361, allocations: 1.467 MB / 0.9531 GB, free: 9.281 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002116/0.6382, allocations: 2.546 MB / 0.9555 GB, free: 6.496 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.6382, allocations: 4 kB / 0.9555 GB, free: 6.492 MB / 0.7292 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.003591/0.6418, allocations: 3.275 MB / 0.9587 GB, free: 3.18 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/0.6418, allocations: 21.97 kB / 0.9588 GB, free: 3.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.923e-05/0.6418, allocations: 20 kB / 0.9588 GB, free: 3.141 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001183/0.643, allocations: 0.7375 MB / 0.9595 GB, free: 2.375 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008114/0.6438, allocations: 383.4 kB / 0.9599 GB, free: 2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00952/0.6533, allocations: 16.13 MB / 0.9756 GB, free: 0.8359 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001146/0.6545, allocations: 99.91 kB / 0.9757 GB, free: 0.7383 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.8e-05/0.6546, allocations: 72 kB / 0.9758 GB, free: 0.668 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.001767/0.6563, allocations: 1.313 MB / 0.9771 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002904/0.6566, allocations: 214.7 kB / 0.9773 GB, free: 15.12 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002874/0.6595, allocations: 2.761 MB / 0.98 GB, free: 12.32 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.6595, allocations: 12 kB / 0.98 GB, free: 12.31 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/0.6595, allocations: 8.188 kB / 0.98 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.096e-06/0.6595, allocations: 7.969 kB / 0.98 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006724/0.6662, allocations: 6.184 MB / 0.986 GB, free: 5.941 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.6663, allocations: 4.656 kB / 0.986 GB, free: 5.938 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005957/0.6669, allocations: 235.6 kB / 0.9863 GB, free: 5.707 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001012/0.6679, allocations: 0.6749 MB / 0.9869 GB, free: 5 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.345e-05/0.6679, allocations: 32 kB / 0.9869 GB, free: 4.969 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009184/0.6771, allocations: 15.87 MB / 1.002 GB, free: 4.066 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.6771, allocations: 11.94 kB / 1.002 GB, free: 4.055 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004186/0.6813, allocations: 4.002 MB / 1.006 GB, free: 15.94 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007303/0.682, allocations: 378.6 kB / 1.007 GB, free: 15.57 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000166/0.6822, allocations: 39.94 kB / 1.007 GB, free: 15.53 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004876/0.6827, allocations: 79.89 kB / 1.007 GB, free: 15.45 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002258/0.6829, allocations: 124.6 kB / 1.007 GB, free: 15.33 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.843e-05/0.683, allocations: 36 kB / 1.007 GB, free: 15.29 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001036/0.684, allocations: 0.9942 MB / 1.008 GB, free: 14.31 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.8e-07/0.684, allocations: 4 kB / 1.008 GB, free: 14.3 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001641/0.6856, allocations: 0.6836 MB / 1.009 GB, free: 13.62 MB / 0.7917 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.0002085/0.6859, allocations: 157.8 kB / 1.009 GB, free: 13.46 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.003339/0.6892, allocations: 3.377 MB / 1.012 GB, free: 9.965 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.6892, allocations: 4.875 kB / 1.012 GB, free: 9.961 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001777/0.691, allocations: 2.244 MB / 1.014 GB, free: 7.602 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001741/0.6927, allocations: 0.6779 MB / 1.015 GB, free: 6.961 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008512/0.7012, allocations: 7.135 MB / 1.022 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00206/0.7033, allocations: 2.726 MB / 1.025 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005576/0.7038, allocations: 131.4 kB / 1.025 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of SimCode: time 2.074e-06/0.7038, allocations: 0 / 1.025 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of Templates: time 0.4639/1.168, allocations: 210 MB / 1.23 GB, free: 237.5 MB / 0.9167 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: 13.357173823053017] Failed to read output from testmodel.py, exit status != 0: 1.1735103600658476 1.179318626 0.609199618 Calling exit ...