Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008663/0.0008663, allocations: 72.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001556/0.001556, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8891/0.8891, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7113/0.7113, allocations: 154.6 MB / 414.5 MB, free: 0.8125 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 0.6194 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.915e-05/2.048e-05, allocations: 2.281 kB / 0.6194 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.01753/0.01755, allocations: 25.05 MB / 0.6438 GB, free: 4.051 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.008936/0.02648, allocations: 7.985 MB / 0.6516 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008426/0.02733, allocations: 154.8 kB / 0.6518 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.003369/0.0307, allocations: 2.778 MB / 0.6545 GB, free: 9.105 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001997/0.03269, allocations: 1.72 MB / 0.6562 GB, free: 7.375 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002029/0.03472, allocations: 1.698 MB / 0.6578 GB, free: 5.68 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003783/0.0385, allocations: 6.27 MB / 0.6639 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003074/0.04158, allocations: 3.762 MB / 0.6676 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002631/0.04421, allocations: 3.726 MB / 0.6712 GB, free: 7.797 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00201/0.04622, allocations: 2.638 MB / 0.6738 GB, free: 5.152 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.000636/0.04686, allocations: 0.5078 MB / 0.6743 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001346/0.0482, allocations: 1.213 MB / 0.6755 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001148/0.04935, allocations: 2.198 MB / 0.6776 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.2779/0.3272, allocations: 1.651 MB / 0.6793 GB, free: 58.79 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.004416/0.3316, allocations: 8.207 MB / 0.6873 GB, free: 58.55 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.3316, allocations: 0 / 0.6873 GB, free: 58.55 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3316, allocations: 0 / 0.6873 GB, free: 58.55 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.873e-05/0.3317, allocations: 3.469 kB / 0.6873 GB, free: 58.55 MB / 0.6355 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.003554/0.3352, allocations: 4.219 MB / 0.6914 GB, free: 56.88 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.3352, allocations: 9.031 kB / 0.6914 GB, free: 56.88 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001949/0.3372, allocations: 0.8353 MB / 0.6922 GB, free: 56.65 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002623/0.3398, allocations: 2.524 MB / 0.6947 GB, free: 56.09 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001215/0.3399, allocations: 272.7 kB / 0.6949 GB, free: 56.09 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004505/0.3404, allocations: 375 kB / 0.6953 GB, free: 56.08 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005257/0.3457, allocations: 6.446 MB / 0.7016 GB, free: 54.76 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.253e-05/0.3457, allocations: 22.55 kB / 0.7016 GB, free: 54.76 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002628/0.346, allocations: 162.9 kB / 0.7018 GB, free: 54.75 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000285/0.3463, allocations: 284.2 kB / 0.702 GB, free: 54.75 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004188/0.3504, allocations: 4.513 MB / 0.7065 GB, free: 54.16 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01288/0.3633, allocations: 17.37 MB / 0.7234 GB, free: 42.57 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001158/0.3645, allocations: 1.062 MB / 0.7245 GB, free: 42.17 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009969/0.3655, allocations: 0.9547 MB / 0.7254 GB, free: 41.82 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.648e-05/0.3655, allocations: 12 kB / 0.7254 GB, free: 41.82 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.3656, allocations: 47.56 kB / 0.7254 GB, free: 41.77 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=110): time 3.377e-06/0.3656, allocations: 0 / 0.7254 GB, free: 41.77 MB / 0.6355 GB Notification: Performance of matching and sorting (n=131): time 0.01223/0.3778, allocations: 9.08 MB / 0.7343 GB, free: 38.21 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.3778, allocations: 66.28 kB / 0.7344 GB, free: 38.15 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00127/0.3791, allocations: 1.399 MB / 0.7357 GB, free: 37.6 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.464e-05/0.3792, allocations: 52.52 kB / 0.7358 GB, free: 37.55 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006376/0.3798, allocations: 1.724 MB / 0.7375 GB, free: 36.23 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002282/0.38, allocations: 484.5 kB / 0.7379 GB, free: 35.86 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003228/0.3804, allocations: 326 kB / 0.7382 GB, free: 35.7 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.12e-05/0.3804, allocations: 307.3 kB / 0.7385 GB, free: 35.4 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009484/0.3813, allocations: 0.9131 MB / 0.7394 GB, free: 35.06 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001144/0.3825, allocations: 1.464 MB / 0.7409 GB, free: 34.04 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002171/0.3846, allocations: 2.547 MB / 0.7433 GB, free: 32.54 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.3847, allocations: 5.062 kB / 0.7433 GB, free: 32.54 MB / 0.6355 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.003502/0.3882, allocations: 3.267 MB / 0.7465 GB, free: 31.3 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.3882, allocations: 12.5 kB / 0.7466 GB, free: 31.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/0.3882, allocations: 18.56 kB / 0.7466 GB, free: 31.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001149/0.3893, allocations: 0.7406 MB / 0.7473 GB, free: 31.06 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008105/0.3902, allocations: 387.1 kB / 0.7477 GB, free: 31.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007836/0.398, allocations: 15.81 MB / 0.7631 GB, free: 17.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001034/0.399, allocations: 101.1 kB / 0.7632 GB, free: 17.96 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/0.3991, allocations: 74.16 kB / 0.7633 GB, free: 17.95 MB / 0.6355 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.002339/0.4015, allocations: 1.314 MB / 0.7645 GB, free: 17.36 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001805/0.4017, allocations: 200.2 kB / 0.7647 GB, free: 17.26 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00277/0.4044, allocations: 2.762 MB / 0.7674 GB, free: 16.11 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.4044, allocations: 16.59 kB / 0.7675 GB, free: 16.1 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.4044, allocations: 9.719 kB / 0.7675 GB, free: 16.1 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.4044, allocations: 9.062 kB / 0.7675 GB, free: 16.1 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005625/0.4101, allocations: 5.327 MB / 0.7727 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.4101, allocations: 9.688 kB / 0.7727 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005604/0.4106, allocations: 229.5 kB / 0.7729 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009062/0.4115, allocations: 0.6731 MB / 0.7736 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.535e-05/0.4116, allocations: 27.81 kB / 0.7736 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006388/0.418, allocations: 15.57 MB / 0.7888 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.418, allocations: 9.031 kB / 0.7888 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003691/0.4217, allocations: 3.968 MB / 0.7927 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005467/0.4222, allocations: 372.8 kB / 0.793 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/0.4224, allocations: 35.94 kB / 0.7931 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004719/0.4228, allocations: 90.14 kB / 0.7931 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001976/0.423, allocations: 120 kB / 0.7933 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.189e-05/0.4231, allocations: 39.78 kB / 0.7933 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001099/0.4242, allocations: 0.9083 MB / 0.7942 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4242, allocations: 0 / 0.7942 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001723/0.4259, allocations: 0.6827 MB / 0.7949 GB, free: 13.28 MB / 0.6511 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.0001897/0.4261, allocations: 151.6 kB / 0.795 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003059/0.4291, allocations: 3.376 MB / 0.7983 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.4292, allocations: 4 kB / 0.7983 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001976/0.4311, allocations: 2.234 MB / 0.8005 GB, free: 8.121 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001537/0.4327, allocations: 0.6271 MB / 0.8011 GB, free: 7.531 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0077/0.4404, allocations: 7.009 MB / 0.8079 GB, free: 472 kB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001893/0.4423, allocations: 2.152 MB / 0.81 GB, free: 14.27 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003027/0.4426, allocations: 136.5 kB / 0.8102 GB, free: 14.14 MB / 0.6667 GB Notification: Performance of SimCode: time 1.383e-06/0.4426, allocations: 0 / 0.8102 GB, free: 14.14 MB / 0.6667 GB Notification: Performance of Templates: time 0.3593/0.8019, allocations: 210.8 MB / 1.016 GB, free: 290.4 MB / 0.8386 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.30318414978683] Failed to read output from testmodel.py, exit status != 0: 0.8078189566731453 0.815265086 0.48200059799999995 Calling exit ...