Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.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.0008347/0.0008347, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0009575/0.0009575, allocations: 181 kB / 23.36 MB, free: 1.133 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.9821/0.9821, allocations: 177.1 MB / 203.8 MB, free: 5.477 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-535:34: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-535:42: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.7867/0.7867, allocations: 154.9 MB / 415.1 MB, free: 212 kB / 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: translateModel(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 480.3 MB, free: 6.523 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.248e-05/3.416e-05, allocations: 3.078 kB / 480.3 MB, free: 6.52 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004819/0.004853, allocations: 2.605 MB / 482.9 MB, free: 3.953 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003346/0.008199, allocations: 1.575 MB / 484.5 MB, free: 2.391 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001597/0.008359, allocations: 4.562 kB / 484.5 MB, free: 2.387 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005585/0.008917, allocations: 148.2 kB / 484.7 MB, free: 2.242 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003535/0.009271, allocations: 168.2 kB / 484.8 MB, free: 2.078 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000527/0.009798, allocations: 249.5 kB / 485.1 MB, free: 1.836 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002991/0.0101, allocations: 334.8 kB / 485.4 MB, free: 1.508 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002641/0.01036, allocations: 163 kB / 485.6 MB, free: 1.344 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002583/0.01062, allocations: 188.7 kB / 485.7 MB, free: 1.16 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003367/0.01096, allocations: 136.5 kB / 485.9 MB, free: 1.027 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.274e-05/0.011, allocations: 20.53 kB / 485.9 MB, free: 1.008 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005017/0.0115, allocations: 308 kB / 486.2 MB, free: 0.707 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.0116, allocations: 95.72 kB / 486.3 MB, free: 0.6133 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 8.71e-05/0.01169, allocations: 85.02 kB / 486.4 MB, free: 0.5312 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004932/0.01218, allocations: 394.7 kB / 486.8 MB, free: 148 kB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.01219, allocations: 0 / 486.8 MB, free: 148 kB / 442.7 MB Notification: Performance of FrontEnd: time 2.925e-06/0.01219, allocations: 3.125 kB / 486.8 MB, free: 148 kB / 442.7 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.0122, allocations: 0 / 486.8 MB, free: 148 kB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.000661/0.01286, allocations: 458.5 kB / 487.2 MB, free: 15.67 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.0129, allocations: 8.031 kB / 487.2 MB, free: 15.66 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005384/0.01344, allocations: 148.6 kB / 487.4 MB, free: 15.52 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002625/0.0137, allocations: 186.9 kB / 487.5 MB, free: 15.31 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.01372, allocations: 16.81 kB / 487.6 MB, free: 15.29 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.361e-05/0.01376, allocations: 21.25 kB / 487.6 MB, free: 15.27 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003051/0.01406, allocations: 263.9 kB / 487.8 MB, free: 14.98 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.01407, allocations: 1.094 kB / 487.8 MB, free: 14.98 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.238e-05/0.01409, allocations: 12.86 kB / 487.9 MB, free: 14.97 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.26e-05/0.01414, allocations: 29.52 kB / 487.9 MB, free: 14.94 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.01427, allocations: 84.56 kB / 488 MB, free: 14.86 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/0.01546, allocations: 1.03 MB / 489 MB, free: 13.79 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002397/0.0157, allocations: 188.7 kB / 489.2 MB, free: 13.59 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.676e-05/0.01575, allocations: 35.48 kB / 489.2 MB, free: 13.55 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.02e-05/0.0158, allocations: 15.94 kB / 489.2 MB, free: 13.53 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.01582, allocations: 42.48 kB / 489.3 MB, free: 13.48 MB / 458.7 MB Notification: Performance of pre-optimization done (n=16): time 2.234e-06/0.01583, allocations: 0 / 489.3 MB, free: 13.48 MB / 458.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006377/0.01646, allocations: 241.7 kB / 489.5 MB, free: 13.23 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.01651, allocations: 81.11 kB / 489.6 MB, free: 13.14 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.01663, allocations: 188.3 kB / 489.8 MB, free: 12.94 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.01665, allocations: 29.7 kB / 489.8 MB, free: 12.91 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.325e-05/0.01672, allocations: 168.1 kB / 490 MB, free: 12.74 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.248e-05/0.01675, allocations: 59.52 kB / 490 MB, free: 12.68 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.783e-05/0.01681, allocations: 50.89 kB / 490.1 MB, free: 12.62 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.698e-05/0.01691, allocations: 330.8 kB / 490.4 MB, free: 12.29 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.421e-05/0.01694, allocations: 27.19 kB / 490.4 MB, free: 12.27 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.568e-05/0.01702, allocations: 98 kB / 490.5 MB, free: 12.14 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.01716, allocations: 160.8 kB / 490.7 MB, free: 11.95 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.01716, allocations: 0 / 490.7 MB, free: 11.95 MB / 458.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002777/0.01744, allocations: 204.6 kB / 490.9 MB, free: 11.74 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.01746, allocations: 8 kB / 490.9 MB, free: 11.73 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.01747, allocations: 1.156 kB / 490.9 MB, free: 11.73 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002651/0.01773, allocations: 77.08 kB / 491 MB, free: 11.65 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.01785, allocations: 44.66 kB / 491 MB, free: 11.61 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000899/0.01875, allocations: 1.735 MB / 492.7 MB, free: 9.75 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.038e-05/0.01883, allocations: 27.78 kB / 492.8 MB, free: 9.723 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.01884, allocations: 12.59 kB / 492.8 MB, free: 9.711 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 8.899e-05/0.01893, allocations: 117.6 kB / 492.9 MB, free: 9.586 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.861e-05/0.01897, allocations: 29.05 kB / 492.9 MB, free: 9.559 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002613/0.01923, allocations: 163.2 kB / 493.1 MB, free: 9.383 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.01924, allocations: 8.781 kB / 493.1 MB, free: 9.379 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.01924, allocations: 0 / 493.1 MB, free: 9.379 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.01924, allocations: 1.812 kB / 493.1 MB, free: 9.379 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005212/0.01976, allocations: 0.5233 MB / 493.6 MB, free: 8.801 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.01977, allocations: 4.812 kB / 493.6 MB, free: 8.797 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.108e-05/0.01982, allocations: 20 kB / 493.6 MB, free: 8.777 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001713/0.01999, allocations: 78.17 kB / 493.7 MB, free: 8.695 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.02, allocations: 4 kB / 493.7 MB, free: 8.691 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007887/0.02079, allocations: 1.733 MB / 495.4 MB, free: 6.836 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.02079, allocations: 4 kB / 495.5 MB, free: 6.832 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002922/0.02108, allocations: 456.1 kB / 495.9 MB, free: 6.344 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.689e-05/0.02113, allocations: 27.83 kB / 495.9 MB, free: 6.316 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.02115, allocations: 5.812 kB / 495.9 MB, free: 6.312 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.898e-05/0.02124, allocations: 8 kB / 495.9 MB, free: 6.305 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.815e-05/0.02126, allocations: 28.38 kB / 496 MB, free: 6.277 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.02127, allocations: 4 kB / 496 MB, free: 6.273 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.978e-05/0.02132, allocations: 62.39 kB / 496 MB, free: 6.215 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02132, allocations: 0 / 496 MB, free: 6.215 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003063/0.02163, allocations: 79.81 kB / 496.1 MB, free: 6.137 MB / 458.7 MB 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 (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001577/0.02179, allocations: 102.5 kB / 496.2 MB, free: 6.031 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000314/0.0221, allocations: 239.3 kB / 496.4 MB, free: 5.785 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.371e-06/0.02211, allocations: 4 kB / 496.4 MB, free: 5.781 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001227/0.02223, allocations: 178.2 kB / 496.6 MB, free: 5.594 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.02251, allocations: 42.33 kB / 496.7 MB, free: 5.559 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008031/0.02331, allocations: 486.9 kB / 497.1 MB, free: 5.035 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.137e-05/0.02338, allocations: 97.42 kB / 497.2 MB, free: 4.922 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.942e-05/0.02345, allocations: 26.97 kB / 497.3 MB, free: 4.898 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.946e-05/0.02354, allocations: 80.39 kB / 497.3 MB, free: 4.82 MB / 458.7 MB Notification: Performance of SimCode: time 1.102e-06/0.02354, allocations: 0 / 497.3 MB, free: 4.82 MB / 458.7 MB Notification: Performance of Templates: time 0.005165/0.02871, allocations: 3.13 MB / 0.4887 GB, free: 1.906 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7568488740362227]