Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.001353/0.001353, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001551/0.001551, allocations: 181 kB / 23.36 MB, free: 1.133 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 0.9471/0.9471, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.8154/0.8154, allocations: 154.9 MB / 415.1 MB, free: 236 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.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0.5469 kB / 480.4 MB, free: 6.535 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.44e-05/1.566e-05, allocations: 7.266 kB / 480.4 MB, free: 6.531 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.008011/0.008026, allocations: 9.617 MB / 490 MB, free: 12.93 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.008512/0.01654, allocations: 6.044 MB / 496 MB, free: 6.918 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00102/0.01756, allocations: 83.25 kB / 496.1 MB, free: 6.836 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009064/0.01846, allocations: 373.1 kB / 496.5 MB, free: 6.469 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003025/0.02149, allocations: 1.44 MB / 497.9 MB, free: 5.039 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001474/0.02296, allocations: 0.666 MB / 498.6 MB, free: 4.379 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.002293/0.02526, allocations: 2.614 MB / 0.4895 GB, free: 1.754 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001042/0.0263, allocations: 1.243 MB / 0.4907 GB, free: 476 kB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001271/0.02757, allocations: 1.575 MB / 0.4922 GB, free: 14.89 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009384/0.02851, allocations: 0.9854 MB / 0.4932 GB, free: 13.91 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001819/0.02869, allocations: 160 kB / 0.4933 GB, free: 13.75 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004198/0.02911, allocations: 323.6 kB / 0.4936 GB, free: 13.43 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006585/0.02977, allocations: 0.6543 MB / 0.4943 GB, free: 12.78 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000471/0.03024, allocations: 0.6436 MB / 0.4949 GB, free: 12.13 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001148/0.03139, allocations: 1.542 MB / 0.4964 GB, free: 10.59 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.03139, allocations: 0 / 0.4964 GB, free: 10.59 MB / 474.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.03139, allocations: 1.094 kB / 0.4964 GB, free: 10.59 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.23e-05/0.0314, allocations: 0 / 0.4964 GB, free: 10.59 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.001808/0.03321, allocations: 1.971 MB / 0.4983 GB, free: 8.59 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.933e-05/0.03324, allocations: 14.3 kB / 0.4983 GB, free: 8.578 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002813/0.03605, allocations: 0.8227 MB / 0.4991 GB, free: 7.758 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.03715, allocations: 1.048 MB / 0.5002 GB, free: 6.672 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.722e-05/0.0372, allocations: 86.73 kB / 0.5002 GB, free: 6.586 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001667/0.03736, allocations: 133.3 kB / 0.5004 GB, free: 6.457 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00184/0.0392, allocations: 1.62 MB / 0.502 GB, free: 4.645 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.937e-05/0.03923, allocations: 11.88 kB / 0.502 GB, free: 4.633 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000109/0.03934, allocations: 51.98 kB / 0.502 GB, free: 4.582 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000269/0.03961, allocations: 139.5 kB / 0.5022 GB, free: 4.445 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006971/0.04031, allocations: 0.5552 MB / 0.5027 GB, free: 3.887 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006141/0.04645, allocations: 5.728 MB / 0.5083 GB, free: 14.03 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001211/0.04766, allocations: 0.5432 MB / 0.5088 GB, free: 13.49 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003998/0.04806, allocations: 255.2 kB / 0.5091 GB, free: 13.24 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.135e-05/0.04811, allocations: 13 kB / 0.5091 GB, free: 13.23 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.04814, allocations: 53.05 kB / 0.5091 GB, free: 13.17 MB / 490.7 MB Notification: Performance of pre-optimization done (n=89): time 2.475e-06/0.04814, allocations: 4 kB / 0.5091 GB, free: 13.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=90): time 0.008362/0.0565, allocations: 3.222 MB / 0.5123 GB, free: 9.984 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.05654, allocations: 68.34 kB / 0.5123 GB, free: 9.906 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007007/0.05724, allocations: 0.848 MB / 0.5132 GB, free: 9.047 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.186e-05/0.05732, allocations: 43.86 kB / 0.5132 GB, free: 9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003164/0.05764, allocations: 0.5651 MB / 0.5138 GB, free: 8.426 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002548/0.0579, allocations: 337 kB / 0.5141 GB, free: 8.094 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003135/0.05821, allocations: 190.7 kB / 0.5143 GB, free: 7.902 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.692e-05/0.05831, allocations: 349.9 kB / 0.5146 GB, free: 7.555 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003483/0.05865, allocations: 197.2 kB / 0.5148 GB, free: 7.363 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007234/0.05938, allocations: 434.6 kB / 0.5152 GB, free: 6.848 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000892/0.06027, allocations: 0.7181 MB / 0.5159 GB, free: 6.047 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.06027, allocations: 0 / 0.5159 GB, free: 6.047 MB / 490.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002286/0.06256, allocations: 1.201 MB / 0.5171 GB, free: 4.816 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.06258, allocations: 11.94 kB / 0.5171 GB, free: 4.805 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.06259, allocations: 10.19 kB / 0.5171 GB, free: 4.797 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002372/0.06496, allocations: 0.7698 MB / 0.5178 GB, free: 4.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006902/0.06565, allocations: 187.7 kB / 0.518 GB, free: 3.836 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02655/0.0922, allocations: 12.35 MB / 0.5301 GB, free: 6.652 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006784/0.09288, allocations: 47.98 kB / 0.5301 GB, free: 6.605 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.396e-05/0.09297, allocations: 43.95 kB / 0.5302 GB, free: 6.562 MB / 0.4948 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 (90): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003202/0.0933, allocations: 173.1 kB / 0.5303 GB, free: 6.383 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002169/0.09351, allocations: 115.9 kB / 0.5305 GB, free: 6.27 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008326/0.1018, allocations: 1.181 MB / 0.5316 GB, free: 5.031 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.1018, allocations: 8 kB / 0.5316 GB, free: 5.023 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.1019, allocations: 8 kB / 0.5316 GB, free: 5.016 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.365e-06/0.1019, allocations: 5.25 kB / 0.5316 GB, free: 5.012 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009498/0.1114, allocations: 2.03 MB / 0.5336 GB, free: 2.902 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-06/0.1114, allocations: 0 / 0.5336 GB, free: 2.902 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005404/0.1119, allocations: 123.8 kB / 0.5337 GB, free: 2.781 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008301/0.1202, allocations: 0.7566 MB / 0.5345 GB, free: 1.988 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.272e-05/0.1203, allocations: 27.97 kB / 0.5345 GB, free: 1.961 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01078/0.1311, allocations: 12.01 MB / 0.5462 GB, free: 5.094 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.1311, allocations: 8.125 kB / 0.5462 GB, free: 5.086 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001664/0.1327, allocations: 1.184 MB / 0.5474 GB, free: 3.828 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003114/0.133, allocations: 242.9 kB / 0.5476 GB, free: 3.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.1332, allocations: 23.98 kB / 0.5476 GB, free: 3.566 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004107/0.1336, allocations: 39.98 kB / 0.5477 GB, free: 3.527 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/0.1337, allocations: 88.72 kB / 0.5478 GB, free: 3.438 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.144e-05/0.1338, allocations: 27.97 kB / 0.5478 GB, free: 3.41 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000284/0.134, allocations: 429 kB / 0.5482 GB, free: 2.984 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1e-07/0.134, allocations: 0 / 0.5482 GB, free: 2.984 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009656/0.135, allocations: 472 kB / 0.5486 GB, free: 2.523 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 (56): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001782/0.1352, allocations: 112.3 kB / 0.5488 GB, free: 2.406 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001961/0.1371, allocations: 1.953 MB / 0.5507 GB, free: 352 kB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-05/0.1372, allocations: 16.5 kB / 0.5507 GB, free: 336 kB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001427/0.1386, allocations: 1.582 MB / 0.5522 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/0.1397, allocations: 0.5123 MB / 0.5527 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002984/0.1427, allocations: 2.518 MB / 0.5552 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002928/0.143, allocations: 388.2 kB / 0.5556 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006234/0.1436, allocations: 293.5 kB / 0.5558 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007083/0.1443, allocations: 403 kB / 0.5562 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of SimCode: time 7.81e-07/0.1443, allocations: 0 / 0.5562 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of Templates: time 0.0344/0.1787, allocations: 34.32 MB / 0.5897 GB, free: 8.855 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.583264721091837]