Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.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.001578/0.001578, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 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.001652/0.001652, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.481/1.481, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 1.222/1.222, allocations: 154.8 MB / 414.3 MB, free: 456 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 178] 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.5198 GB, free: 2.32 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.746e-05/2.909e-05, allocations: 4 kB / 0.5199 GB, free: 2.316 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01706/0.01709, allocations: 10.16 MB / 0.5298 GB, free: 8.129 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.01653/0.03362, allocations: 8.396 MB / 0.538 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00155/0.03517, allocations: 79.31 kB / 0.5381 GB, free: 15.67 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.005369/0.04054, allocations: 1.673 MB / 0.5397 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.005059/0.0456, allocations: 1.613 MB / 0.5413 GB, free: 12.39 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002134/0.04774, allocations: 0.6855 MB / 0.5419 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.003924/0.05166, allocations: 2.356 MB / 0.5442 GB, free: 9.34 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002319/0.05398, allocations: 1.149 MB / 0.5454 GB, free: 8.16 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003268/0.05725, allocations: 1.385 MB / 0.5467 GB, free: 6.773 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00214/0.05939, allocations: 0.8981 MB / 0.5476 GB, free: 5.875 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0004001/0.05979, allocations: 136 kB / 0.5477 GB, free: 5.742 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001968/0.06176, allocations: 0.7494 MB / 0.5484 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0009808/0.06274, allocations: 0.6036 MB / 0.549 GB, free: 4.387 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.001453/0.06419, allocations: 0.6078 MB / 0.5496 GB, free: 3.777 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.004584/0.06877, allocations: 2.614 MB / 0.5522 GB, free: 1.156 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.06878, allocations: 0 / 0.5522 GB, free: 1.156 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.282e-06/0.06878, allocations: 0 / 0.5522 GB, free: 1.156 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.681e-05/0.06887, allocations: 0.7188 kB / 0.5522 GB, free: 1.156 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.004242/0.07311, allocations: 1.981 MB / 0.5541 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.07316, allocations: 8.031 kB / 0.5541 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01207/0.08523, allocations: 2.263 MB / 0.5563 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002862/0.0881, allocations: 1.208 MB / 0.5575 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.837e-05/0.08819, allocations: 93.05 kB / 0.5576 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002745/0.08847, allocations: 124.3 kB / 0.5577 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006575/0.09504, allocations: 2.882 MB / 0.5605 GB, free: 8.289 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.336e-05/0.0951, allocations: 12.88 kB / 0.5605 GB, free: 8.277 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001689/0.09527, allocations: 48 kB / 0.5606 GB, free: 8.23 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003708/0.09564, allocations: 130.1 kB / 0.5607 GB, free: 8.102 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007801/0.1034, allocations: 2.536 MB / 0.5632 GB, free: 5.562 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01419/0.1176, allocations: 7.46 MB / 0.5705 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006901/0.1245, allocations: 1.84 MB / 0.5723 GB, free: 12.1 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002999/0.1275, allocations: 0.9432 MB / 0.5732 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 5.809e-05/0.1276, allocations: 12.5 kB / 0.5732 GB, free: 11.14 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.904e-05/0.1276, allocations: 39.06 kB / 0.5732 GB, free: 11.1 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=53): time 3.336e-06/0.1276, allocations: 0.625 kB / 0.5732 GB, free: 11.1 MB / 0.5417 GB Notification: Performance of matching and sorting (n=81): time 0.03347/0.1611, allocations: 8.643 MB / 0.5817 GB, free: 2.488 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.668e-05/0.1612, allocations: 64.05 kB / 0.5817 GB, free: 2.41 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001525/0.1627, allocations: 0.9554 MB / 0.5827 GB, free: 1.441 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001359/0.1628, allocations: 41.7 kB / 0.5827 GB, free: 1.395 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007164/0.1636, allocations: 0.7619 MB / 0.5835 GB, free: 0.625 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003601/0.1639, allocations: 285.5 kB / 0.5837 GB, free: 352 kB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000437/0.1644, allocations: 202.5 kB / 0.5839 GB, free: 144 kB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002204/0.1646, allocations: 349.9 kB / 0.5843 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003258/0.1678, allocations: 1.071 MB / 0.5853 GB, free: 14.72 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003539/0.1714, allocations: 1.305 MB / 0.5866 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00661/0.178, allocations: 2.382 MB / 0.5889 GB, free: 10.85 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.178, allocations: 0 / 0.5889 GB, free: 10.85 MB / 0.5573 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009637/0.1876, allocations: 3.274 MB / 0.5921 GB, free: 7.543 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.206e-05/0.1877, allocations: 16.03 kB / 0.5921 GB, free: 7.527 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.1877, allocations: 7.938 kB / 0.5921 GB, free: 7.52 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004273/0.1919, allocations: 0.9354 MB / 0.593 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002035/0.194, allocations: 411.3 kB / 0.5934 GB, free: 6.156 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01989/0.2139, allocations: 14.84 MB / 0.6079 GB, free: 6.492 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002396/0.2163, allocations: 287.5 kB / 0.6082 GB, free: 6.211 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001549/0.2164, allocations: 51.97 kB / 0.6083 GB, free: 6.16 MB / 0.573 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,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,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.0008537/0.2173, allocations: 405.5 kB / 0.6086 GB, free: 5.754 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004206/0.2177, allocations: 159.2 kB / 0.6088 GB, free: 5.598 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009788/0.2275, allocations: 3.165 MB / 0.6119 GB, free: 2.398 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-05/0.2275, allocations: 12 kB / 0.6119 GB, free: 2.387 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-05/0.2275, allocations: 11.94 kB / 0.6119 GB, free: 2.375 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/0.2275, allocations: 3.984 kB / 0.6119 GB, free: 2.371 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01313/0.2407, allocations: 4.492 MB / 0.6163 GB, free: 13.79 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.363e-05/0.2407, allocations: 4 kB / 0.6163 GB, free: 13.78 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001902/0.2426, allocations: 355.7 kB / 0.6166 GB, free: 13.43 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003828/0.2464, allocations: 0.8268 MB / 0.6174 GB, free: 12.58 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002246/0.2466, allocations: 35.91 kB / 0.6175 GB, free: 12.55 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02026/0.2669, allocations: 14.46 MB / 0.6316 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/0.2669, allocations: 3.984 kB / 0.6316 GB, free: 13.26 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009615/0.2765, allocations: 3.024 MB / 0.6346 GB, free: 10.16 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001131/0.2776, allocations: 298.9 kB / 0.6348 GB, free: 9.863 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003604/0.278, allocations: 16 kB / 0.6349 GB, free: 9.848 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00213/0.2801, allocations: 299.4 kB / 0.6351 GB, free: 9.555 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000353/0.2805, allocations: 84.44 kB / 0.6352 GB, free: 9.473 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001259/0.2806, allocations: 39.97 kB / 0.6353 GB, free: 9.434 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001252/0.2819, allocations: 0.6346 MB / 0.6359 GB, free: 8.793 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8e-08/0.2819, allocations: 0 / 0.6359 GB, free: 8.793 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001934/0.2838, allocations: 435.9 kB / 0.6363 GB, free: 8.367 MB / 0.6042 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,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003694/0.2842, allocations: 123.2 kB / 0.6364 GB, free: 8.238 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.009673/0.2938, allocations: 3.522 MB / 0.6399 GB, free: 4.605 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/0.2939, allocations: 0 / 0.6399 GB, free: 4.605 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.006003/0.2999, allocations: 2.331 MB / 0.6421 GB, free: 2.172 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002743/0.3026, allocations: 0.4961 MB / 0.6426 GB, free: 1.707 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009218/0.3118, allocations: 3.507 MB / 0.646 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001348/0.3132, allocations: 0.8054 MB / 0.6468 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001555/0.3147, allocations: 354.6 kB / 0.6472 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003892/0.3151, allocations: 92.44 kB / 0.6473 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of SimCode: time 1.012e-06/0.3151, allocations: 0 / 0.6473 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of Templates: time 0.2823/0.5974, allocations: 30.83 MB / 0.6774 GB, free: 186.6 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.06582650996279]