Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.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.0009832/0.0009832, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001051/0.001051, allocations: 173 kB / 23.5 MB, free: 1.055 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.031/1.031, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.7762/0.7762, allocations: 154.8 MB / 415.1 MB, free: 484 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.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource") translateModel(IDEAS.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.5205 GB, free: 2.301 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.535e-05/2.707e-05, allocations: 3.406 kB / 0.5205 GB, free: 2.297 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Sources.Examples.VoltageSource): time 0.003686/0.003713, allocations: 3.294 MB / 0.5238 GB, free: 15 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001754/0.005466, allocations: 1.438 MB / 0.5252 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001388/0.005605, allocations: 8.438 kB / 0.5252 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006576/0.006263, allocations: 340.8 kB / 0.5255 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002557/0.006518, allocations: 168.9 kB / 0.5257 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002249/0.006743, allocations: 160 kB / 0.5258 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002757/0.007019, allocations: 342.7 kB / 0.5261 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003095/0.007328, allocations: 200.7 kB / 0.5263 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000221/0.007549, allocations: 204.7 kB / 0.5265 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000189/0.007738, allocations: 131.6 kB / 0.5267 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.637e-05/0.007765, allocations: 20 kB / 0.5267 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000176/0.007941, allocations: 160.4 kB / 0.5268 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 7.483e-05/0.008016, allocations: 91.8 kB / 0.5269 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 7.143e-05/0.008087, allocations: 92.89 kB / 0.527 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002929/0.00838, allocations: 283 kB / 0.5273 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.008382, allocations: 0 / 0.5273 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.22e-07/0.008383, allocations: 0.75 kB / 0.5273 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.008387, allocations: 0 / 0.5273 GB, free: 11.41 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.000584/0.008971, allocations: 0.5753 MB / 0.5278 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.009007, allocations: 12.03 kB / 0.5278 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004498/0.009456, allocations: 120.3 kB / 0.528 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002222/0.009679, allocations: 209.8 kB / 0.5282 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.009694, allocations: 16.88 kB / 0.5282 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.009719, allocations: 20.36 kB / 0.5282 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003106/0.01003, allocations: 321.8 kB / 0.5285 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.01004, allocations: 192 / 0.5285 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.01006, allocations: 8.375 kB / 0.5285 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-05/0.01009, allocations: 24.42 kB / 0.5285 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001345/0.01023, allocations: 88.47 kB / 0.5286 GB, free: 9.926 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000876/0.0111, allocations: 1.277 MB / 0.5299 GB, free: 8.582 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002365/0.01134, allocations: 104.8 kB / 0.53 GB, free: 8.469 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.063e-05/0.01138, allocations: 27.67 kB / 0.53 GB, free: 8.438 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.321e-05/0.01139, allocations: 3.938 kB / 0.53 GB, free: 8.434 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.01141, allocations: 37.39 kB / 0.53 GB, free: 8.387 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.01141, allocations: 1.125 kB / 0.53 GB, free: 8.387 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.000284/0.0117, allocations: 126.2 kB / 0.5302 GB, free: 8.254 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.335e-05/0.01172, allocations: 55.41 kB / 0.5302 GB, free: 8.188 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.01187, allocations: 250.1 kB / 0.5304 GB, free: 7.926 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.01188, allocations: 32.45 kB / 0.5305 GB, free: 7.891 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.349e-05/0.01197, allocations: 234.8 kB / 0.5307 GB, free: 7.656 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.883e-05/0.01199, allocations: 31.73 kB / 0.5307 GB, free: 7.625 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.506e-05/0.01204, allocations: 39.38 kB / 0.5308 GB, free: 7.578 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.01216, allocations: 0.4923 MB / 0.5312 GB, free: 7.074 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.463e-05/0.0122, allocations: 19.98 kB / 0.5313 GB, free: 7.055 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.726e-05/0.01227, allocations: 122.6 kB / 0.5314 GB, free: 6.895 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.01239, allocations: 148.5 kB / 0.5315 GB, free: 6.711 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.01239, allocations: 0 / 0.5315 GB, free: 6.711 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001908/0.01258, allocations: 161.1 kB / 0.5317 GB, free: 6.547 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.0126, allocations: 9.875 kB / 0.5317 GB, free: 6.539 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.0126, allocations: 0 / 0.5317 GB, free: 6.539 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001732/0.01278, allocations: 38.22 kB / 0.5317 GB, free: 6.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.381e-05/0.01285, allocations: 31.92 kB / 0.5318 GB, free: 6.469 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007424/0.01359, allocations: 1.74 MB / 0.5335 GB, free: 4.602 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.498e-05/0.01366, allocations: 15.84 kB / 0.5335 GB, free: 4.586 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.01367, allocations: 13.28 kB / 0.5335 GB, free: 4.574 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.148e-05/0.01375, allocations: 165.3 kB / 0.5336 GB, free: 4.402 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.617e-05/0.01378, allocations: 15.91 kB / 0.5337 GB, free: 4.387 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.698e-05/0.0138, allocations: 27.7 kB / 0.5337 GB, free: 4.367 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.21e-07/0.0138, allocations: 0 / 0.5337 GB, free: 4.367 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.0138, allocations: 4 kB / 0.5337 GB, free: 4.363 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.0138, allocations: 3.984 kB / 0.5337 GB, free: 4.359 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003156/0.01412, allocations: 416.9 kB / 0.5341 GB, free: 3.906 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.01412, allocations: 4 kB / 0.5341 GB, free: 3.902 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.158e-05/0.01415, allocations: 10.44 kB / 0.5341 GB, free: 3.895 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.157e-05/0.01424, allocations: 35.66 kB / 0.5341 GB, free: 3.855 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.01425, allocations: 0 / 0.5341 GB, free: 3.855 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000634/0.01489, allocations: 1.731 MB / 0.5358 GB, free: 2.004 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.01489, allocations: 3.938 kB / 0.5358 GB, free: 2 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000153/0.01504, allocations: 247.5 kB / 0.5361 GB, free: 1.734 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.3e-05/0.01507, allocations: 24.73 kB / 0.5361 GB, free: 1.711 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.01509, allocations: 7.938 kB / 0.5361 GB, free: 1.703 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.296e-05/0.01515, allocations: 8.656 kB / 0.5361 GB, free: 1.695 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.024e-05/0.01519, allocations: 7.984 kB / 0.5361 GB, free: 1.688 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.01519, allocations: 0.6562 kB / 0.5361 GB, free: 1.688 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.705e-05/0.01528, allocations: 178.6 kB / 0.5363 GB, free: 1.516 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.01528, allocations: 0.625 kB / 0.5363 GB, free: 1.516 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002117/0.01549, allocations: 56.48 kB / 0.5363 GB, free: 1.461 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.619e-05/0.01559, allocations: 96.73 kB / 0.5364 GB, free: 1.359 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003165/0.01591, allocations: 254.9 kB / 0.5367 GB, free: 1.094 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.01591, allocations: 0 / 0.5367 GB, free: 1.094 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001264/0.01603, allocations: 210.1 kB / 0.5369 GB, free: 0.8672 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/0.01629, allocations: 33 kB / 0.5369 GB, free: 0.8398 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007784/0.01707, allocations: 372.8 kB / 0.5373 GB, free: 456 kB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.5e-05/0.01713, allocations: 88.69 kB / 0.5373 GB, free: 348 kB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.952e-05/0.01721, allocations: 32.05 kB / 0.5374 GB, free: 320 kB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.546e-05/0.01725, allocations: 13.66 kB / 0.5374 GB, free: 304 kB / 0.4948 GB Notification: Performance of SimCode: time 7.72e-07/0.01725, allocations: 0 / 0.5374 GB, free: 304 kB / 0.4948 GB Notification: Performance of Templates: time 0.004392/0.02164, allocations: 1.877 MB / 0.5392 GB, free: 14.54 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.sim & ./IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9213041139300913]