Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.0009911/0.0009911, allocations: 85.27 kB / 19.87 MB, free: 4.613 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.0009043/0.0009043, allocations: 165 kB / 23.27 MB, free: 1.219 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.9357/0.9357, allocations: 177.1 MB / 203.7 MB, free: 5.504 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.8104/0.8104, allocations: 154.9 MB / 415.1 MB, free: 272 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.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 0.5211 GB, free: 444 kB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.727e-05/2.938e-05, allocations: 2.312 kB / 0.5211 GB, free: 440 kB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01175/0.01178, allocations: 10.32 MB / 0.5312 GB, free: 6.094 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.01111/0.02289, allocations: 6.818 MB / 0.5379 GB, free: 15.29 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00216/0.02505, allocations: 79.31 kB / 0.5379 GB, free: 15.21 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001958/0.02701, allocations: 390.2 kB / 0.5383 GB, free: 14.83 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005732/0.03274, allocations: 1.706 MB / 0.54 GB, free: 13.14 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001601/0.03434, allocations: 0.6534 MB / 0.5406 GB, free: 12.49 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.00401/0.03835, allocations: 2.856 MB / 0.5434 GB, free: 9.625 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001828/0.04018, allocations: 1.192 MB / 0.5446 GB, free: 8.398 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002963/0.04314, allocations: 2.108 MB / 0.5466 GB, free: 6.293 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001672/0.04481, allocations: 0.9909 MB / 0.5476 GB, free: 5.301 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003291/0.04514, allocations: 160 kB / 0.5477 GB, free: 5.145 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007883/0.04593, allocations: 321.1 kB / 0.548 GB, free: 4.832 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004482/0.04638, allocations: 0.6426 MB / 0.5487 GB, free: 4.188 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006812/0.04706, allocations: 0.6429 MB / 0.5493 GB, free: 3.543 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001875/0.04893, allocations: 1.534 MB / 0.5508 GB, free: 2.004 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.04894, allocations: 4 kB / 0.5508 GB, free: 2 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.04894, allocations: 0.9375 kB / 0.5508 GB, free: 2 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.133e-05/0.04897, allocations: 0 / 0.5508 GB, free: 2 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.002313/0.05129, allocations: 2.179 MB / 0.5529 GB, free: 15.79 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.377e-05/0.05134, allocations: 8.031 kB / 0.5529 GB, free: 15.78 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003421/0.05476, allocations: 0.9172 MB / 0.5538 GB, free: 14.86 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00152/0.05628, allocations: 1.153 MB / 0.555 GB, free: 13.68 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.305e-05/0.05634, allocations: 89.84 kB / 0.555 GB, free: 13.59 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001773/0.05651, allocations: 128.3 kB / 0.5552 GB, free: 13.47 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001878/0.05839, allocations: 1.687 MB / 0.5568 GB, free: 11.55 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.242e-05/0.05842, allocations: 15.86 kB / 0.5568 GB, free: 11.54 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001109/0.05853, allocations: 55.98 kB / 0.5569 GB, free: 11.48 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003014/0.05884, allocations: 142.2 kB / 0.557 GB, free: 11.34 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008452/0.05968, allocations: 0.6885 MB / 0.5577 GB, free: 10.65 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006683/0.06636, allocations: 7.83 MB / 0.5653 GB, free: 2.633 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.06742, allocations: 0.5871 MB / 0.5659 GB, free: 2.043 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003581/0.06778, allocations: 313.8 kB / 0.5662 GB, free: 1.738 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.167e-05/0.06783, allocations: 18.5 kB / 0.5662 GB, free: 1.723 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.06787, allocations: 46.39 kB / 0.5663 GB, free: 1.668 MB / 490.7 MB Notification: Performance of pre-optimization done (n=89): time 3.246e-06/0.06787, allocations: 0 / 0.5663 GB, free: 1.668 MB / 490.7 MB Notification: Performance of matching and sorting (n=153): time 0.01001/0.07788, allocations: 5.118 MB / 0.5713 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.07792, allocations: 68.72 kB / 0.5713 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008236/0.07874, allocations: 0.996 MB / 0.5723 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001539/0.0789, allocations: 49.7 kB / 0.5724 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004015/0.0793, allocations: 0.8213 MB / 0.5732 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003598/0.07966, allocations: 0.5499 MB / 0.5737 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003586/0.08002, allocations: 293 kB / 0.574 GB, free: 9.73 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.08013, allocations: 480.8 kB / 0.5744 GB, free: 9.258 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004501/0.08058, allocations: 379.7 kB / 0.5748 GB, free: 8.887 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006001/0.08118, allocations: 0.7335 MB / 0.5755 GB, free: 8.023 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001121/0.0823, allocations: 1.187 MB / 0.5767 GB, free: 6.703 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.08231, allocations: 4 kB / 0.5767 GB, free: 6.699 MB / 0.4948 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.005283/0.08759, allocations: 2.54 MB / 0.5792 GB, free: 4.113 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/0.08762, allocations: 8 kB / 0.5792 GB, free: 4.105 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.933e-05/0.08764, allocations: 7.938 kB / 0.5792 GB, free: 4.098 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006121/0.09376, allocations: 1.735 MB / 0.5809 GB, free: 2.332 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008458/0.09461, allocations: 187.7 kB / 0.581 GB, free: 2.148 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01644/0.111, allocations: 18.77 MB / 0.5994 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001335/0.1124, allocations: 67.95 kB / 0.5994 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000136/0.1125, allocations: 51.97 kB / 0.5995 GB, free: 14.37 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005236/0.113, allocations: 236.3 kB / 0.5997 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003811/0.1134, allocations: 219 kB / 0.5999 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005451/0.1189, allocations: 2.491 MB / 0.6024 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-05/0.1189, allocations: 16 kB / 0.6024 GB, free: 11.35 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.152e-05/0.1189, allocations: 20 kB / 0.6024 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.531e-05/0.1189, allocations: 7.969 kB / 0.6024 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007351/0.1263, allocations: 3.626 MB / 0.6059 GB, free: 7.578 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.866e-06/0.1263, allocations: 8 kB / 0.6059 GB, free: 7.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000557/0.1269, allocations: 123.8 kB / 0.6061 GB, free: 7.449 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005542/0.1324, allocations: 1.677 MB / 0.6077 GB, free: 5.742 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001276/0.1325, allocations: 43.97 kB / 0.6077 GB, free: 5.699 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01504/0.1476, allocations: 18.67 MB / 0.626 GB, free: 2.137 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.1476, allocations: 15.81 kB / 0.626 GB, free: 2.121 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004301/0.1519, allocations: 2.412 MB / 0.6283 GB, free: 15.61 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006248/0.1525, allocations: 366.6 kB / 0.6287 GB, free: 15.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001313/0.1526, allocations: 28 kB / 0.6287 GB, free: 15.22 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006063/0.1532, allocations: 51.98 kB / 0.6288 GB, free: 15.17 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005079/0.1537, allocations: 160.9 kB / 0.6289 GB, free: 15.01 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.42e-05/0.1538, allocations: 47.97 kB / 0.629 GB, free: 14.96 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004799/0.1543, allocations: 0.5704 MB / 0.6295 GB, free: 14.39 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.41e-07/0.1543, allocations: 0 / 0.6295 GB, free: 14.39 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001841/0.1561, allocations: 0.6719 MB / 0.6302 GB, free: 13.71 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002527/0.1564, allocations: 143.1 kB / 0.6303 GB, free: 13.57 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.003634/0.16, allocations: 3.225 MB / 0.6335 GB, free: 10.2 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.16, allocations: 0.5 kB / 0.6335 GB, free: 10.2 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002753/0.1628, allocations: 2.655 MB / 0.6361 GB, free: 7.395 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001691/0.1645, allocations: 0.529 MB / 0.6366 GB, free: 6.895 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004275/0.1688, allocations: 3.125 MB / 0.6396 GB, free: 3.691 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005214/0.1693, allocations: 0.5121 MB / 0.6401 GB, free: 3.145 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008283/0.1701, allocations: 281.2 kB / 0.6404 GB, free: 2.863 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007323/0.1708, allocations: 477.8 kB / 0.6409 GB, free: 2.395 MB / 0.5573 GB Notification: Performance of SimCode: time 1.783e-06/0.1708, allocations: 0 / 0.6409 GB, free: 2.395 MB / 0.5573 GB Notification: Performance of Templates: time 0.2539/0.4248, allocations: 51.09 MB / 0.6907 GB, free: 78.25 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.652135812677443]