Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.001215/0.001215, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001027/0.001027, allocations: 173 kB / 23.49 MB, free: 1.059 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.114/1.114, allocations: 177.1 MB / 203.8 MB, free: 5.656 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.7858/0.7858, allocations: 154.8 MB / 415.1 MB, free: 480 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.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.275e-06/2.275e-06, allocations: 0 / 0.5206 GB, free: 2.25 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.366e-05/2.593e-05, allocations: 2.312 kB / 0.5206 GB, free: 2.246 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.007827/0.007853, allocations: 6.827 MB / 0.5272 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.004576/0.01243, allocations: 3.115 MB / 0.5303 GB, free: 8.301 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006215/0.01305, allocations: 40.38 kB / 0.5303 GB, free: 8.262 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001599/0.01465, allocations: 0.9805 MB / 0.5313 GB, free: 7.281 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001103/0.01575, allocations: 0.5323 MB / 0.5318 GB, free: 6.75 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008904/0.01664, allocations: 424.1 kB / 0.5322 GB, free: 6.34 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001082/0.01772, allocations: 1.263 MB / 0.5334 GB, free: 5.07 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007027/0.01843, allocations: 0.5334 MB / 0.534 GB, free: 4.539 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006909/0.01912, allocations: 0.6663 MB / 0.5346 GB, free: 3.871 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005399/0.01966, allocations: 478.7 kB / 0.5351 GB, free: 3.402 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 8.155e-05/0.01974, allocations: 68 kB / 0.5351 GB, free: 3.336 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005324/0.02027, allocations: 351.1 kB / 0.5355 GB, free: 2.992 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002402/0.02051, allocations: 334.1 kB / 0.5358 GB, free: 2.668 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002451/0.02076, allocations: 311.3 kB / 0.5361 GB, free: 2.363 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0008618/0.02162, allocations: 0.8759 MB / 0.5369 GB, free: 1.484 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.02163, allocations: 3.938 kB / 0.5369 GB, free: 1.48 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.643e-06/0.02163, allocations: 0 / 0.5369 GB, free: 1.48 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.181e-05/0.02164, allocations: 0 / 0.5369 GB, free: 1.48 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.00136/0.023, allocations: 1.212 MB / 0.5381 GB, free: 240 kB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.02305, allocations: 8.031 kB / 0.5381 GB, free: 232 kB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00115/0.0242, allocations: 338.2 kB / 0.5385 GB, free: 15.9 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006583/0.02485, allocations: 0.5406 MB / 0.539 GB, free: 15.34 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.699e-05/0.02489, allocations: 49.67 kB / 0.539 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.125e-05/0.02497, allocations: 72.36 kB / 0.5391 GB, free: 15.22 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009389/0.02591, allocations: 1.076 MB / 0.5401 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/0.02594, allocations: 4.188 kB / 0.5402 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.558e-05/0.02599, allocations: 36.34 kB / 0.5402 GB, free: 13.89 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001336/0.02613, allocations: 94.69 kB / 0.5403 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005217/0.02665, allocations: 357 kB / 0.5406 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003459/0.03011, allocations: 5.708 MB / 0.5462 GB, free: 7.551 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005502/0.03066, allocations: 286.2 kB / 0.5465 GB, free: 7.258 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001839/0.03084, allocations: 133.8 kB / 0.5466 GB, free: 7.125 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.091e-05/0.03087, allocations: 8.5 kB / 0.5466 GB, free: 7.117 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/0.03091, allocations: 54.41 kB / 0.5467 GB, free: 7.055 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=47): time 3.437e-06/0.03091, allocations: 0 / 0.5467 GB, free: 7.055 MB / 0.5105 GB Notification: Performance of matching and sorting (n=48): time 0.002018/0.03293, allocations: 1.074 MB / 0.5477 GB, free: 5.973 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.03296, allocations: 61.25 kB / 0.5478 GB, free: 5.902 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003906/0.03335, allocations: 0.5219 MB / 0.5483 GB, free: 5.367 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.103e-05/0.03339, allocations: 37.7 kB / 0.5483 GB, free: 5.324 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002162/0.0336, allocations: 475.3 kB / 0.5488 GB, free: 4.855 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.0337, allocations: 178.5 kB / 0.5489 GB, free: 4.68 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001349/0.03384, allocations: 129.5 kB / 0.5491 GB, free: 4.543 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000185/0.03402, allocations: 0.543 MB / 0.5496 GB, free: 3.988 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000175/0.0342, allocations: 117.9 kB / 0.5497 GB, free: 3.875 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003138/0.03451, allocations: 429.5 kB / 0.5501 GB, free: 3.324 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005242/0.03504, allocations: 0.5795 MB / 0.5507 GB, free: 2.621 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.03504, allocations: 4 kB / 0.5507 GB, free: 2.617 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0009408/0.03598, allocations: 0.7482 MB / 0.5514 GB, free: 1.855 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.036, allocations: 8 kB / 0.5514 GB, free: 1.848 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.03601, allocations: 9.062 kB / 0.5514 GB, free: 1.84 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007889/0.0368, allocations: 302 kB / 0.5517 GB, free: 1.539 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000277/0.03708, allocations: 128.2 kB / 0.5518 GB, free: 1.414 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004054/0.04113, allocations: 7.603 MB / 0.5593 GB, free: 9.324 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003276/0.04146, allocations: 41.12 kB / 0.5593 GB, free: 9.285 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.122e-05/0.04149, allocations: 27.94 kB / 0.5593 GB, free: 9.258 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002078/0.0417, allocations: 202.2 kB / 0.5595 GB, free: 9.051 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.606e-05/0.04179, allocations: 91.56 kB / 0.5596 GB, free: 8.961 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007575/0.04254, allocations: 0.5428 MB / 0.5601 GB, free: 8.387 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.04255, allocations: 5.031 kB / 0.5601 GB, free: 8.383 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/0.04256, allocations: 11.98 kB / 0.5601 GB, free: 8.371 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.04256, allocations: 0.625 kB / 0.5601 GB, free: 8.371 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00136/0.04392, allocations: 1.163 MB / 0.5613 GB, free: 7.129 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.04392, allocations: 0 / 0.5613 GB, free: 7.129 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001474/0.04407, allocations: 67.88 kB / 0.5613 GB, free: 7.062 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006809/0.04475, allocations: 298.5 kB / 0.5616 GB, free: 6.766 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.362e-05/0.04478, allocations: 8 kB / 0.5616 GB, free: 6.758 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005804/0.05058, allocations: 7.6 MB / 0.5691 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.05058, allocations: 0 / 0.5691 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008716/0.05145, allocations: 0.7304 MB / 0.5698 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001806/0.05163, allocations: 107.5 kB / 0.5699 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.285e-05/0.05168, allocations: 12 kB / 0.5699 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/0.05188, allocations: 28.84 kB / 0.5699 GB, free: 13.74 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.05199, allocations: 51.86 kB / 0.57 GB, free: 13.69 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.322e-05/0.05201, allocations: 16.94 kB / 0.57 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002771/0.05229, allocations: 342.7 kB / 0.5703 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8e-08/0.05229, allocations: 2 kB / 0.5703 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0007011/0.05299, allocations: 228 kB / 0.5705 GB, free: 13.12 MB / 0.5417 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001582/0.05315, allocations: 108.2 kB / 0.5706 GB, free: 13.01 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001229/0.05438, allocations: 1.193 MB / 0.5718 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.05438, allocations: 0.7188 kB / 0.5718 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0008591/0.05524, allocations: 0.9733 MB / 0.5727 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006882/0.05593, allocations: 204.7 kB / 0.5729 GB, free: 10.53 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002021/0.05795, allocations: 1.257 MB / 0.5742 GB, free: 9.211 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001918/0.05814, allocations: 209.6 kB / 0.5744 GB, free: 8.984 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002626/0.05841, allocations: 104.6 kB / 0.5745 GB, free: 8.891 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.316e-05/0.05849, allocations: 40.12 kB / 0.5745 GB, free: 8.855 MB / 0.5417 GB Notification: Performance of SimCode: time 1.383e-06/0.05849, allocations: 0 / 0.5745 GB, free: 8.855 MB / 0.5417 GB Notification: Performance of Templates: time 0.01489/0.07338, allocations: 11.44 MB / 0.5857 GB, free: 13.7 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.225422566989437]