Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.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.0008553/0.0008553, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.0008816/0.0008816, allocations: 169 kB / 24.06 MB, free: 452 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.073/1.073, allocations: 177.1 MB / 204.5 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.7907/0.7907, allocations: 154.9 MB / 415.9 MB, free: 276 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.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor") translateModel(IDEAS.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.012e-06/1.012e-06, allocations: 0 / 0.5219 GB, free: 1.559 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.347e-05/1.448e-05, allocations: 5 kB / 0.5219 GB, free: 1.555 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Loads.Examples.Resistor): time 0.003223/0.003238, allocations: 2.934 MB / 0.5247 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001325/0.004563, allocations: 1.11 MB / 0.5258 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.004695, allocations: 8.875 kB / 0.5258 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003958/0.005091, allocations: 119.3 kB / 0.5259 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002424/0.005333, allocations: 205.3 kB / 0.5261 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001974/0.00553, allocations: 152.3 kB / 0.5263 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003282/0.005859, allocations: 499.2 kB / 0.5267 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003012/0.00616, allocations: 289.4 kB / 0.527 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001944/0.006354, allocations: 275.4 kB / 0.5273 GB, free: 12 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002563/0.00661, allocations: 201 kB / 0.5275 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.168e-05/0.006642, allocations: 28 kB / 0.5275 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001206/0.006763, allocations: 99.73 kB / 0.5276 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 9.78e-05/0.006861, allocations: 140.2 kB / 0.5277 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.271e-05/0.006953, allocations: 129.7 kB / 0.5279 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002859/0.007239, allocations: 322.9 kB / 0.5282 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.007241, allocations: 0 / 0.5282 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.81e-07/0.007241, allocations: 0 / 0.5282 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.007246, allocations: 0 / 0.5282 GB, free: 11.1 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0005404/0.007786, allocations: 0.6454 MB / 0.5288 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.803e-05/0.007814, allocations: 17.48 kB / 0.5288 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004875/0.008302, allocations: 169.9 kB / 0.529 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002126/0.008514, allocations: 229.5 kB / 0.5292 GB, free: 9.992 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.008529, allocations: 24.97 kB / 0.5292 GB, free: 9.969 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.849e-05/0.008558, allocations: 36.36 kB / 0.5293 GB, free: 9.934 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003027/0.008861, allocations: 446 kB / 0.5297 GB, free: 9.426 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.008872, allocations: 8.125 kB / 0.5297 GB, free: 9.418 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.039e-05/0.008892, allocations: 12.38 kB / 0.5297 GB, free: 9.406 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.756e-05/0.00893, allocations: 33.2 kB / 0.5297 GB, free: 9.371 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001283/0.009058, allocations: 111.2 kB / 0.5298 GB, free: 9.27 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001341/0.0104, allocations: 1.856 MB / 0.5316 GB, free: 7.34 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001533/0.01055, allocations: 101.1 kB / 0.5317 GB, free: 7.23 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.264e-05/0.01064, allocations: 67.62 kB / 0.5318 GB, free: 7.16 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.845e-06/0.01065, allocations: 4 kB / 0.5318 GB, free: 7.156 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.01067, allocations: 37.39 kB / 0.5318 GB, free: 7.109 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=14): time 1.283e-06/0.01068, allocations: 1.031 kB / 0.5318 GB, free: 7.109 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14): time 0.0002812/0.01096, allocations: 161 kB / 0.532 GB, free: 6.945 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.015e-05/0.01098, allocations: 51.41 kB / 0.5321 GB, free: 6.883 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.01112, allocations: 273.8 kB / 0.5323 GB, free: 6.602 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.01113, allocations: 29.7 kB / 0.5323 GB, free: 6.566 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.146e-05/0.01122, allocations: 258.9 kB / 0.5326 GB, free: 6.309 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/0.01125, allocations: 59.52 kB / 0.5326 GB, free: 6.25 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.398e-05/0.01131, allocations: 51.55 kB / 0.5327 GB, free: 6.188 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.01142, allocations: 0.504 MB / 0.5332 GB, free: 5.672 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.68e-05/0.01145, allocations: 16.45 kB / 0.5332 GB, free: 5.656 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8e-05/0.01153, allocations: 153.7 kB / 0.5333 GB, free: 5.453 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.01166, allocations: 186.3 kB / 0.5335 GB, free: 5.223 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.01166, allocations: 4 kB / 0.5335 GB, free: 5.219 MB / 0.4948 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002012/0.01186, allocations: 203.4 kB / 0.5337 GB, free: 5.012 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.01187, allocations: 4 kB / 0.5337 GB, free: 5.008 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.01187, allocations: 5.5 kB / 0.5337 GB, free: 5.004 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000133/0.01201, allocations: 40.62 kB / 0.5338 GB, free: 4.961 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.547e-05/0.0121, allocations: 44.64 kB / 0.5338 GB, free: 4.918 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000694/0.0128, allocations: 1.719 MB / 0.5355 GB, free: 3.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.581e-05/0.01287, allocations: 27.78 kB / 0.5355 GB, free: 3.062 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.01288, allocations: 12.84 kB / 0.5355 GB, free: 3.051 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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): 26 * 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.395e-05/0.01297, allocations: 173.4 kB / 0.5357 GB, free: 2.871 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.115e-05/0.013, allocations: 23.91 kB / 0.5357 GB, free: 2.848 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.233e-05/0.01302, allocations: 27.91 kB / 0.5357 GB, free: 2.82 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.82e-07/0.01302, allocations: 0 / 0.5357 GB, free: 2.82 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.01302, allocations: 0 / 0.5357 GB, free: 2.82 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.01303, allocations: 7.922 kB / 0.5358 GB, free: 2.812 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004402/0.01347, allocations: 0.5598 MB / 0.5363 GB, free: 2.184 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.01347, allocations: 4 kB / 0.5363 GB, free: 2.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.229e-05/0.01351, allocations: 24 kB / 0.5363 GB, free: 2.156 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.738e-05/0.0136, allocations: 32.94 kB / 0.5364 GB, free: 2.121 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.68e-06/0.01361, allocations: 0 / 0.5364 GB, free: 2.121 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009692/0.01458, allocations: 1.727 MB / 0.538 GB, free: 288 kB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.01458, allocations: 4.562 kB / 0.538 GB, free: 284 kB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001866/0.01476, allocations: 331.8 kB / 0.5384 GB, free: 15.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.877e-05/0.0148, allocations: 31.83 kB / 0.5384 GB, free: 15.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.01482, allocations: 4.781 kB / 0.5384 GB, free: 15.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.776e-05/0.01489, allocations: 18.08 kB / 0.5384 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.784e-05/0.01491, allocations: 15.98 kB / 0.5384 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.01492, allocations: 4 kB / 0.5384 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 7.297e-05/0.01499, allocations: 185.5 kB / 0.5386 GB, free: 15.66 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.01499, allocations: 0 / 0.5386 GB, free: 15.66 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002276/0.01522, allocations: 79.78 kB / 0.5387 GB, free: 15.58 MB / 0.5105 GB 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 (14): * 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: 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 6.717e-05/0.01529, allocations: 104.5 kB / 0.5388 GB, free: 15.47 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002285/0.01551, allocations: 283 kB / 0.5391 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.01552, allocations: 0 / 0.5391 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.01563, allocations: 216.1 kB / 0.5393 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/0.0159, allocations: 64 kB / 0.5393 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006898/0.01658, allocations: 0.5307 MB / 0.5398 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.111e-05/0.01666, allocations: 112.8 kB / 0.54 GB, free: 14.17 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 6.955e-05/0.01673, allocations: 26.05 kB / 0.54 GB, free: 14.15 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.01684, allocations: 118.7 kB / 0.5401 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of SimCode: time 8.81e-07/0.01684, allocations: 3.938 kB / 0.5401 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of Templates: time 0.004242/0.02108, allocations: 2.677 MB / 0.5427 GB, free: 11.52 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.sim & ./IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8316699331626296]