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.0009344/0.0009344, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001372/0.001372, allocations: 177 kB / 23.36 MB, free: 1.129 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 1.04/1.04, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.8378/0.8378, allocations: 154.9 MB / 415.1 MB, free: 208 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.533e-06/1.533e-06, allocations: 0 / 480.4 MB, free: 6.496 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.913e-05/3.066e-05, allocations: 2.312 kB / 480.4 MB, free: 6.492 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003771/0.003802, allocations: 2.65 MB / 483 MB, free: 3.883 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002277/0.006079, allocations: 1.574 MB / 484.6 MB, free: 2.32 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000134/0.006213, allocations: 8.562 kB / 484.6 MB, free: 2.312 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004931/0.006707, allocations: 145.2 kB / 484.8 MB, free: 2.172 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007397/0.007446, allocations: 167.1 kB / 484.9 MB, free: 2.008 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004987/0.007945, allocations: 228.6 kB / 485.1 MB, free: 1.785 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003722/0.008317, allocations: 334.8 kB / 485.5 MB, free: 1.457 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002656/0.008583, allocations: 166.7 kB / 485.6 MB, free: 1.293 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002649/0.008848, allocations: 191.5 kB / 485.8 MB, free: 1.105 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002338/0.009081, allocations: 136.4 kB / 486 MB, free: 0.9727 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.998e-05/0.009111, allocations: 20 kB / 486 MB, free: 0.9531 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004521/0.009564, allocations: 320 kB / 486.3 MB, free: 0.6406 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.467e-05/0.009658, allocations: 96.34 kB / 486.4 MB, free: 0.5469 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 6.588e-05/0.009724, allocations: 83.77 kB / 486.5 MB, free: 476 kB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004437/0.01017, allocations: 391.4 kB / 486.8 MB, free: 84 kB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.01017, allocations: 0 / 486.8 MB, free: 84 kB / 442.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.01017, allocations: 0.625 kB / 486.8 MB, free: 84 kB / 442.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.01018, allocations: 0.625 kB / 486.8 MB, free: 84 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.0005533/0.01073, allocations: 463.7 kB / 487.3 MB, free: 15.6 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.01076, allocations: 8.969 kB / 487.3 MB, free: 15.59 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005419/0.0113, allocations: 146.2 kB / 487.4 MB, free: 15.45 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.01153, allocations: 189.4 kB / 487.6 MB, free: 15.24 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.01154, allocations: 13.78 kB / 487.6 MB, free: 15.23 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.467e-05/0.01157, allocations: 20.38 kB / 487.7 MB, free: 15.21 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002621/0.01183, allocations: 272.9 kB / 487.9 MB, free: 14.91 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.01184, allocations: 192 / 487.9 MB, free: 14.91 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.288e-05/0.01186, allocations: 19.41 kB / 488 MB, free: 14.89 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.124e-05/0.01189, allocations: 24.95 kB / 488 MB, free: 14.87 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001227/0.01202, allocations: 88.62 kB / 488.1 MB, free: 14.79 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000967/0.01298, allocations: 1.018 MB / 489.1 MB, free: 13.73 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.01318, allocations: 195.7 kB / 489.3 MB, free: 13.52 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.504e-05/0.01323, allocations: 35.41 kB / 489.3 MB, free: 13.48 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.251e-05/0.01327, allocations: 12.55 kB / 489.3 MB, free: 13.46 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.01329, allocations: 35.19 kB / 489.4 MB, free: 13.42 MB / 458.7 MB Notification: Performance of pre-optimization done (n=16): time 1.443e-06/0.01329, allocations: 0 / 489.4 MB, free: 13.42 MB / 458.7 MB Notification: Performance of matching and sorting (n=16): time 0.000573/0.01387, allocations: 254.8 kB / 489.6 MB, free: 13.16 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/0.0139, allocations: 77.11 kB / 489.7 MB, free: 13.07 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.01401, allocations: 192.3 kB / 489.9 MB, free: 12.87 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.01403, allocations: 29.7 kB / 489.9 MB, free: 12.84 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.523e-05/0.01409, allocations: 164.1 kB / 490.1 MB, free: 12.67 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.349e-05/0.01413, allocations: 64.02 kB / 490.1 MB, free: 12.61 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.797e-05/0.01419, allocations: 50.36 kB / 490.2 MB, free: 12.55 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.613e-05/0.01426, allocations: 330.8 kB / 490.5 MB, free: 12.22 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.475e-05/0.0143, allocations: 28.58 kB / 490.5 MB, free: 12.2 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.066e-05/0.01437, allocations: 101.4 kB / 490.6 MB, free: 12.07 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.0145, allocations: 151.4 kB / 490.8 MB, free: 11.89 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.0145, allocations: 0 / 490.8 MB, free: 11.89 MB / 458.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002692/0.01477, allocations: 200.4 kB / 491 MB, free: 11.68 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.01479, allocations: 8.531 kB / 491 MB, free: 11.67 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.01479, allocations: 0 / 491 MB, free: 11.67 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002467/0.01504, allocations: 86.22 kB / 491.1 MB, free: 11.58 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.01516, allocations: 43.92 kB / 491.1 MB, free: 11.54 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00133/0.01649, allocations: 1.734 MB / 492.8 MB, free: 9.68 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.0166, allocations: 33.66 kB / 492.9 MB, free: 9.648 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.01661, allocations: 8 kB / 492.9 MB, free: 9.641 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 0.0001144/0.01673, allocations: 125.8 kB / 493 MB, free: 9.508 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.66e-05/0.01677, allocations: 20.92 kB / 493 MB, free: 9.488 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002873/0.01706, allocations: 170.5 kB / 493.2 MB, free: 9.309 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.01706, allocations: 4 kB / 493.2 MB, free: 9.305 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.01707, allocations: 3.938 kB / 493.2 MB, free: 9.301 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.01707, allocations: 0 / 493.2 MB, free: 9.301 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005453/0.01762, allocations: 0.5254 MB / 493.7 MB, free: 8.723 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.01762, allocations: 0.7812 kB / 493.7 MB, free: 8.723 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.594e-05/0.01768, allocations: 23.94 kB / 493.7 MB, free: 8.699 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001717/0.01785, allocations: 69.69 kB / 493.8 MB, free: 8.625 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.01786, allocations: 9.281 kB / 493.8 MB, free: 8.617 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007892/0.01865, allocations: 1.733 MB / 495.5 MB, free: 6.766 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.01865, allocations: 5.5 kB / 495.6 MB, free: 6.762 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003126/0.01896, allocations: 454.8 kB / 496 MB, free: 6.273 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.081e-05/0.01902, allocations: 31.83 kB / 496 MB, free: 6.242 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.01903, allocations: 5.438 kB / 496 MB, free: 6.238 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.338e-05/0.01913, allocations: 8 kB / 496 MB, free: 6.23 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.218e-05/0.01916, allocations: 19.91 kB / 496.1 MB, free: 6.211 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.01917, allocations: 4.906 kB / 496.1 MB, free: 6.207 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.602e-05/0.01922, allocations: 72.84 kB / 496.1 MB, free: 6.137 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01922, allocations: 0.5938 kB / 496.1 MB, free: 6.137 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003117/0.01954, allocations: 79.83 kB / 496.2 MB, free: 6.059 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.0001528/0.01969, allocations: 98.09 kB / 496.3 MB, free: 5.957 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003321/0.02002, allocations: 248.6 kB / 496.6 MB, free: 5.703 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/0.02003, allocations: 2.625 kB / 496.6 MB, free: 5.703 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001384/0.02017, allocations: 169.4 kB / 496.7 MB, free: 5.523 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002936/0.02046, allocations: 42.69 kB / 496.8 MB, free: 5.488 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007896/0.02125, allocations: 483.1 kB / 497.2 MB, free: 4.969 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.437e-05/0.02132, allocations: 96.3 kB / 497.3 MB, free: 4.855 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 8.575e-05/0.02141, allocations: 26.11 kB / 497.4 MB, free: 4.832 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.02151, allocations: 84.58 kB / 497.4 MB, free: 4.75 MB / 458.7 MB Notification: Performance of SimCode: time 1.052e-06/0.02151, allocations: 0 / 497.4 MB, free: 4.75 MB / 458.7 MB Notification: Performance of Templates: time 0.005758/0.02727, allocations: 3.133 MB / 0.4888 GB, free: 1.832 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.767757087945938]