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.0007307/0.0007307, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001415/0.002146, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001047/0.001047, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001366/0.002413, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9997/0.9997, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08851/1.088, allocations: 53.67 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.8327/0.8327, allocations: 155.3 MB / 399.5 MB, free: 15.8 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2812/1.114, allocations: 49.13 MB / 448.6 MB, free: 5.926 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.523e-06/1.523e-06, allocations: 0 / 449.9 MB, free: 4.645 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.124e-05/2.276e-05, allocations: 3.719 kB / 449.9 MB, free: 4.641 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003747/0.00377, allocations: 2.688 MB / 452.6 MB, free: 1.984 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00233/0.0061, allocations: 1.602 MB / 454.2 MB, free: 412 kB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001331/0.006233, allocations: 7.938 kB / 454.2 MB, free: 404 kB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004476/0.006681, allocations: 176.2 kB / 454.4 MB, free: 228 kB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003411/0.007022, allocations: 184.9 kB / 454.6 MB, free: 44 kB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005322/0.007554, allocations: 234.6 kB / 454.8 MB, free: 15.82 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.000395/0.007949, allocations: 360.3 kB / 455.2 MB, free: 15.46 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002451/0.008194, allocations: 157.5 kB / 455.3 MB, free: 15.31 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002801/0.008474, allocations: 211.4 kB / 455.5 MB, free: 15.1 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002632/0.008737, allocations: 155.5 kB / 455.7 MB, free: 14.95 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.355e-05/0.008771, allocations: 20.53 kB / 455.7 MB, free: 14.93 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004876/0.009258, allocations: 323.9 kB / 456 MB, free: 14.61 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.695e-05/0.009355, allocations: 83.78 kB / 456.1 MB, free: 14.53 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 8.038e-05/0.009436, allocations: 69.59 kB / 456.2 MB, free: 14.46 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004756/0.009911, allocations: 346.9 kB / 456.5 MB, free: 14.12 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.128e-05/0.009923, allocations: 0 / 456.5 MB, free: 14.12 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.009923, allocations: 3.938 kB / 456.5 MB, free: 14.12 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.797e-06/0.009932, allocations: 1.438 kB / 456.5 MB, free: 14.12 MB / 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.0006592/0.01059, allocations: 0.5132 MB / 457 MB, free: 13.59 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.01062, allocations: 12.88 kB / 457 MB, free: 13.57 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006827/0.01131, allocations: 218.3 kB / 457.2 MB, free: 13.34 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000253/0.01156, allocations: 194.3 kB / 457.4 MB, free: 13.13 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.01158, allocations: 17.5 kB / 457.5 MB, free: 13.11 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.292e-05/0.01161, allocations: 27.38 kB / 457.5 MB, free: 13.09 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003096/0.01192, allocations: 267.9 kB / 457.7 MB, free: 12.79 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.01193, allocations: 192 / 457.7 MB, free: 12.79 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.229e-05/0.01195, allocations: 8.375 kB / 457.7 MB, free: 12.79 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.052e-05/0.01199, allocations: 30.58 kB / 457.8 MB, free: 12.76 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001487/0.01214, allocations: 83.31 kB / 457.9 MB, free: 12.68 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001129/0.01327, allocations: 1.023 MB / 458.9 MB, free: 11.61 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002327/0.0135, allocations: 181.2 kB / 459.1 MB, free: 11.41 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.611e-05/0.01356, allocations: 39.16 kB / 459.1 MB, free: 11.37 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.852e-05/0.01361, allocations: 12.61 kB / 459.1 MB, free: 11.36 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.01363, allocations: 35.19 kB / 459.1 MB, free: 11.32 MB / 442.7 MB Notification: Performance of pre-optimization done (n=16): time 1.553e-06/0.01363, allocations: 0.625 kB / 459.1 MB, free: 11.32 MB / 442.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006618/0.01429, allocations: 251.4 kB / 459.4 MB, free: 11.06 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.01433, allocations: 81.11 kB / 459.5 MB, free: 10.96 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.01447, allocations: 201.7 kB / 459.7 MB, free: 10.75 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.01448, allocations: 25.7 kB / 459.7 MB, free: 10.72 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.248e-05/0.01456, allocations: 165 kB / 459.9 MB, free: 10.56 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.57e-05/0.01459, allocations: 55.53 kB / 459.9 MB, free: 10.5 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.126e-05/0.01466, allocations: 53.62 kB / 460 MB, free: 10.45 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.409e-05/0.01476, allocations: 331.7 kB / 460.3 MB, free: 10.11 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.37e-05/0.0148, allocations: 23.98 kB / 460.3 MB, free: 10.09 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.852e-05/0.01489, allocations: 106.1 kB / 460.4 MB, free: 9.957 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000173/0.01506, allocations: 157.8 kB / 460.6 MB, free: 9.773 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.01507, allocations: 4 kB / 460.6 MB, free: 9.77 MB / 442.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003224/0.01539, allocations: 201.1 kB / 460.8 MB, free: 9.562 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.0154, allocations: 12.52 kB / 460.8 MB, free: 9.551 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.01541, allocations: 4 kB / 460.8 MB, free: 9.547 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002731/0.01568, allocations: 79.34 kB / 460.9 MB, free: 9.465 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/0.01585, allocations: 59.91 kB / 460.9 MB, free: 9.406 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009642/0.01681, allocations: 1.731 MB / 462.6 MB, free: 7.547 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.01692, allocations: 19.84 kB / 462.7 MB, free: 7.527 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.01693, allocations: 8 kB / 462.7 MB, free: 7.52 MB / 442.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 9.311e-05/0.01702, allocations: 130.5 kB / 462.8 MB, free: 7.383 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.399e-05/0.01708, allocations: 23.92 kB / 462.8 MB, free: 7.359 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000299/0.01738, allocations: 157.5 kB / 463 MB, free: 7.195 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.01738, allocations: 4.531 kB / 463 MB, free: 7.191 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.01739, allocations: 5.781 kB / 463 MB, free: 7.188 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.01739, allocations: 4.5 kB / 463 MB, free: 7.184 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006118/0.018, allocations: 0.523 MB / 463.5 MB, free: 6.609 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.01801, allocations: 0 / 463.5 MB, free: 6.609 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.009e-05/0.01809, allocations: 37.77 kB / 463.6 MB, free: 6.574 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.532e-05/0.01814, allocations: 24.78 kB / 463.6 MB, free: 6.551 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002046/0.01835, allocations: 70.78 kB / 463.6 MB, free: 6.477 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.01836, allocations: 3.984 kB / 463.6 MB, free: 6.473 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008774/0.01924, allocations: 1.741 MB / 465.4 MB, free: 4.609 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.01924, allocations: 0.6562 kB / 465.4 MB, free: 4.609 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003337/0.01957, allocations: 460.3 kB / 465.8 MB, free: 4.113 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.523e-05/0.0196, allocations: 7.984 kB / 465.8 MB, free: 4.105 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.01973, allocations: 9.875 kB / 465.9 MB, free: 4.098 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.265e-05/0.01976, allocations: 21.27 kB / 465.9 MB, free: 4.078 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.01978, allocations: 15.98 kB / 465.9 MB, free: 4.062 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.802e-05/0.01984, allocations: 52.94 kB / 465.9 MB, free: 4.012 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01984, allocations: 4.719 kB / 466 MB, free: 4.008 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003603/0.0202, allocations: 79.83 kB / 466 MB, free: 3.93 MB / 442.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.0001552/0.02035, allocations: 106.5 kB / 466.1 MB, free: 3.82 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003247/0.02068, allocations: 242.7 kB / 466.4 MB, free: 3.57 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.124e-05/0.02069, allocations: 4.844 kB / 466.4 MB, free: 3.566 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002018/0.02089, allocations: 237.8 kB / 466.6 MB, free: 3.316 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004469/0.02134, allocations: 260.4 kB / 466.9 MB, free: 3.023 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002568/0.0239, allocations: 0.4962 MB / 467.4 MB, free: 2.484 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.168e-05/0.02399, allocations: 96.3 kB / 467.5 MB, free: 2.371 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 9.317e-05/0.02408, allocations: 21.92 kB / 467.5 MB, free: 2.352 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.02419, allocations: 79.36 kB / 467.6 MB, free: 2.273 MB / 442.7 MB Notification: Performance of SimCode: time 7.41e-07/0.02419, allocations: 0 / 467.6 MB, free: 2.273 MB / 442.7 MB Notification: Performance of Templates: time 0.006446/0.03064, allocations: 3.227 MB / 470.8 MB, free: 15.27 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.6228162897750735]