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.001577/0.001577, allocations: 73.09 kB / 20.65 MB, free: 3.848 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.001918/0.001918, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.005/1.005, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.8244/0.8244, allocations: 154.9 MB / 415.9 MB, free: 248 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.302e-06/1.302e-06, allocations: 0 / 0.5219 GB, free: 1.562 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.334e-05/2.465e-05, allocations: 3.344 kB / 0.5219 GB, free: 1.559 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Sources.Examples.VoltageSource): time 0.006956/0.006981, allocations: 2.659 MB / 0.5245 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.004759/0.01174, allocations: 1.068 MB / 0.5255 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001386/0.01188, allocations: 7.938 kB / 0.5255 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004619/0.01234, allocations: 97.25 kB / 0.5256 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002818/0.01262, allocations: 147 kB / 0.5257 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002565/0.01288, allocations: 133.3 kB / 0.5259 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.003376/0.01625, allocations: 350.7 kB / 0.5262 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003465/0.0166, allocations: 204 kB / 0.5264 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002677/0.01687, allocations: 200.2 kB / 0.5266 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002329/0.0171, allocations: 137 kB / 0.5267 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.763e-05/0.01714, allocations: 20 kB / 0.5267 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001637/0.0173, allocations: 95.78 kB / 0.5268 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 8.752e-05/0.01739, allocations: 91.73 kB / 0.5269 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 8.443e-05/0.01748, allocations: 85.16 kB / 0.527 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000316/0.01779, allocations: 251.1 kB / 0.5272 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.01779, allocations: 0 / 0.5272 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.002e-06/0.0178, allocations: 5.656 kB / 0.5273 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.0178, allocations: 0 / 0.5273 GB, free: 12.05 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.000638/0.01844, allocations: 0.5606 MB / 0.5278 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.01847, allocations: 8.031 kB / 0.5278 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005287/0.019, allocations: 120.6 kB / 0.5279 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003272/0.02227, allocations: 198.9 kB / 0.5281 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.02229, allocations: 13.81 kB / 0.5281 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.944e-05/0.02232, allocations: 20.31 kB / 0.5281 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003321/0.02265, allocations: 312.5 kB / 0.5284 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.02266, allocations: 0.7188 kB / 0.5284 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.827e-05/0.02268, allocations: 13.77 kB / 0.5285 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.984e-05/0.02271, allocations: 20.44 kB / 0.5285 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.288e-05/0.0228, allocations: 72.31 kB / 0.5285 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008733/0.02368, allocations: 1.277 MB / 0.5298 GB, free: 9.281 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002124/0.02389, allocations: 95.03 kB / 0.5299 GB, free: 9.176 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.801e-05/0.02392, allocations: 22.7 kB / 0.5299 GB, free: 9.152 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.02394, allocations: 7.938 kB / 0.5299 GB, free: 9.145 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.02396, allocations: 37.39 kB / 0.5299 GB, free: 9.098 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.623e-06/0.02396, allocations: 0 / 0.5299 GB, free: 9.098 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0002775/0.02424, allocations: 121.2 kB / 0.5301 GB, free: 8.969 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.699e-05/0.02426, allocations: 52.91 kB / 0.5301 GB, free: 8.906 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.02439, allocations: 243.4 kB / 0.5303 GB, free: 8.652 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.02441, allocations: 33.7 kB / 0.5304 GB, free: 8.613 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.576e-05/0.0245, allocations: 226.7 kB / 0.5306 GB, free: 8.383 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.719e-05/0.02452, allocations: 32.23 kB / 0.5306 GB, free: 8.352 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.8e-05/0.02457, allocations: 43.36 kB / 0.5307 GB, free: 8.301 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003792/0.02495, allocations: 0.5026 MB / 0.5312 GB, free: 7.789 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.343e-05/0.02497, allocations: 12 kB / 0.5312 GB, free: 7.777 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.67e-05/0.02504, allocations: 110.5 kB / 0.5313 GB, free: 7.629 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.762e-05/0.02514, allocations: 143.1 kB / 0.5314 GB, free: 7.449 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.02514, allocations: 4 kB / 0.5314 GB, free: 7.445 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001822/0.02532, allocations: 155.6 kB / 0.5316 GB, free: 7.285 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.02534, allocations: 4 kB / 0.5316 GB, free: 7.281 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.02534, allocations: 4 kB / 0.5316 GB, free: 7.277 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001441/0.02549, allocations: 33.83 kB / 0.5316 GB, free: 7.242 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.494e-05/0.02556, allocations: 31.98 kB / 0.5316 GB, free: 7.211 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007822/0.02634, allocations: 1.719 MB / 0.5333 GB, free: 5.379 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.504e-05/0.02642, allocations: 26.25 kB / 0.5333 GB, free: 5.355 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.02643, allocations: 4 kB / 0.5333 GB, free: 5.352 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 9.151e-05/0.02652, allocations: 168.5 kB / 0.5335 GB, free: 5.176 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.738e-05/0.02655, allocations: 19.84 kB / 0.5335 GB, free: 5.156 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.751e-05/0.02656, allocations: 21.45 kB / 0.5335 GB, free: 5.141 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.02657, allocations: 9.344 kB / 0.5335 GB, free: 5.133 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.02657, allocations: 0 / 0.5335 GB, free: 5.133 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.02657, allocations: 0 / 0.5335 GB, free: 5.133 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002921/0.02686, allocations: 363.3 kB / 0.5339 GB, free: 4.742 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.02687, allocations: 0 / 0.5339 GB, free: 4.742 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.362e-05/0.0269, allocations: 19.92 kB / 0.5339 GB, free: 4.723 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001077/0.02701, allocations: 38.39 kB / 0.534 GB, free: 4.684 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.1e-06/0.02701, allocations: 4 kB / 0.534 GB, free: 4.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000646/0.02766, allocations: 1.707 MB / 0.5356 GB, free: 2.859 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.02766, allocations: 3.984 kB / 0.5356 GB, free: 2.855 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001433/0.0278, allocations: 248.9 kB / 0.5359 GB, free: 2.59 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.049e-05/0.02783, allocations: 19.91 kB / 0.5359 GB, free: 2.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.02785, allocations: 7.984 kB / 0.5359 GB, free: 2.562 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.623e-05/0.02791, allocations: 4 kB / 0.5359 GB, free: 2.559 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.402e-05/0.02795, allocations: 12.95 kB / 0.5359 GB, free: 2.547 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-06/0.02795, allocations: 3.938 kB / 0.5359 GB, free: 2.543 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.678e-05/0.02802, allocations: 172.7 kB / 0.5361 GB, free: 2.375 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.02802, allocations: 0 / 0.5361 GB, free: 2.375 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002172/0.02824, allocations: 60.42 kB / 0.5361 GB, free: 2.316 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.344e-05/0.02833, allocations: 96.41 kB / 0.5362 GB, free: 2.215 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002528/0.02858, allocations: 242.9 kB / 0.5365 GB, free: 1.961 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.02859, allocations: 4.594 kB / 0.5365 GB, free: 1.957 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.02871, allocations: 207.2 kB / 0.5367 GB, free: 1.734 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.02898, allocations: 27.98 kB / 0.5367 GB, free: 1.707 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006497/0.02963, allocations: 378.4 kB / 0.537 GB, free: 1.309 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.412e-05/0.02969, allocations: 91.95 kB / 0.5371 GB, free: 1.199 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.709e-05/0.02974, allocations: 16.77 kB / 0.5371 GB, free: 1.184 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.899e-05/0.02983, allocations: 106.1 kB / 0.5372 GB, free: 1.078 MB / 0.4948 GB Notification: Performance of SimCode: time 8.32e-07/0.02983, allocations: 1.281 kB / 0.5373 GB, free: 1.078 MB / 0.4948 GB Notification: Performance of Templates: time 0.004682/0.03451, allocations: 2.035 MB / 0.5392 GB, free: 15.16 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.823117851279676]