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.0009903/0.0009903, allocations: 93.06 kB / 19.65 MB, free: 280 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.000963/0.000963, allocations: 173 kB / 23.03 MB, free: 1.547 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.9463/0.9463, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.7567/0.7567, allocations: 154.9 MB / 414.8 MB, free: 424 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,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.072e-06/1.072e-06, allocations: 0 / 0.5207 GB, free: 1.836 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.628e-05/1.735e-05, allocations: 4.969 kB / 0.5207 GB, free: 1.832 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.006608/0.006625, allocations: 7.794 MB / 0.5283 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.01033/0.01695, allocations: 5.898 MB / 0.534 GB, free: 4.141 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001093/0.01805, allocations: 79.31 kB / 0.5341 GB, free: 4.062 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.00095/0.019, allocations: 373.1 kB / 0.5345 GB, free: 3.695 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.002815/0.02181, allocations: 1.419 MB / 0.5359 GB, free: 2.285 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009786/0.02279, allocations: 0.5539 MB / 0.5364 GB, free: 1.734 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.002252/0.02504, allocations: 2.375 MB / 0.5387 GB, free: 15.35 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001336/0.02638, allocations: 1.147 MB / 0.5398 GB, free: 14.17 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001819/0.0282, allocations: 1.562 MB / 0.5414 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001127/0.02932, allocations: 0.8773 MB / 0.5422 GB, free: 11.73 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0002674/0.02959, allocations: 136 kB / 0.5424 GB, free: 11.6 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005176/0.03011, allocations: 283.6 kB / 0.5426 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0003671/0.03048, allocations: 0.6048 MB / 0.5432 GB, free: 10.71 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0005862/0.03106, allocations: 0.5805 MB / 0.5438 GB, free: 10.13 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001714/0.03278, allocations: 1.409 MB / 0.5452 GB, free: 8.719 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.03278, allocations: 1.219 kB / 0.5452 GB, free: 8.719 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.723e-06/0.03278, allocations: 0 / 0.5452 GB, free: 8.719 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.318e-05/0.03284, allocations: 0 / 0.5452 GB, free: 8.719 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.002398/0.03523, allocations: 2.014 MB / 0.5471 GB, free: 6.664 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.03527, allocations: 8.656 kB / 0.5471 GB, free: 6.656 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004099/0.03937, allocations: 1.698 MB / 0.5488 GB, free: 4.961 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001326/0.04069, allocations: 1.166 MB / 0.5499 GB, free: 3.762 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.734e-05/0.04074, allocations: 78.7 kB / 0.55 GB, free: 3.684 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001568/0.0409, allocations: 128.3 kB / 0.5501 GB, free: 3.559 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002351/0.04325, allocations: 1.863 MB / 0.552 GB, free: 1.465 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.689e-05/0.04329, allocations: 15.83 kB / 0.552 GB, free: 1.449 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.575e-05/0.04338, allocations: 53.94 kB / 0.552 GB, free: 1.398 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002152/0.0436, allocations: 126.1 kB / 0.5521 GB, free: 1.273 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.0447, allocations: 0.7624 MB / 0.5529 GB, free: 0.5078 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006848/0.05155, allocations: 7.904 MB / 0.5606 GB, free: 8.402 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00117/0.05272, allocations: 0.6112 MB / 0.5612 GB, free: 7.785 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003226/0.05304, allocations: 239.7 kB / 0.5614 GB, free: 7.551 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.354e-05/0.05307, allocations: 8.5 kB / 0.5614 GB, free: 7.543 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.0531, allocations: 41.89 kB / 0.5615 GB, free: 7.492 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=53): time 2.905e-06/0.05311, allocations: 0 / 0.5615 GB, free: 7.492 MB / 0.5261 GB Notification: Performance of matching and sorting (n=81): time 0.005343/0.05845, allocations: 3.027 MB / 0.5644 GB, free: 4.473 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.05848, allocations: 64.05 kB / 0.5645 GB, free: 4.398 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007413/0.05922, allocations: 0.9367 MB / 0.5654 GB, free: 3.449 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.668e-05/0.05929, allocations: 37.7 kB / 0.5654 GB, free: 3.406 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003712/0.05966, allocations: 0.8161 MB / 0.5662 GB, free: 2.582 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.00018/0.05984, allocations: 298.2 kB / 0.5665 GB, free: 2.289 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002376/0.06008, allocations: 200.1 kB / 0.5667 GB, free: 2.086 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.0602, allocations: 0.5249 MB / 0.5672 GB, free: 1.555 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004342/0.06064, allocations: 311.6 kB / 0.5675 GB, free: 1.254 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005436/0.06118, allocations: 0.6294 MB / 0.5681 GB, free: 0.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.06219, allocations: 0.959 MB / 0.5691 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.06219, allocations: 0 / 0.5691 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002305/0.06449, allocations: 1.598 MB / 0.5706 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.06451, allocations: 8 kB / 0.5706 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.06452, allocations: 8 kB / 0.5707 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001771/0.06629, allocations: 0.7002 MB / 0.5713 GB, free: 13.03 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006802/0.06698, allocations: 307.5 kB / 0.5716 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00892/0.0759, allocations: 15.6 MB / 0.5869 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009409/0.07684, allocations: 179.7 kB / 0.587 GB, free: 11.97 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.003e-05/0.07692, allocations: 55.95 kB / 0.5871 GB, free: 11.92 MB / 0.5573 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.0003917/0.07731, allocations: 216.4 kB / 0.5873 GB, free: 11.7 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002224/0.07753, allocations: 163.2 kB / 0.5874 GB, free: 11.54 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002297/0.07983, allocations: 1.435 MB / 0.5889 GB, free: 10.06 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.07983, allocations: 8 kB / 0.5889 GB, free: 10.05 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/0.07984, allocations: 11.94 kB / 0.5889 GB, free: 10.04 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.07985, allocations: 7.922 kB / 0.5889 GB, free: 10.03 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003664/0.08351, allocations: 2.629 MB / 0.5914 GB, free: 7.285 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.343e-06/0.08352, allocations: 8 kB / 0.5915 GB, free: 7.277 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005454/0.08407, allocations: 243.9 kB / 0.5917 GB, free: 7.039 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001561/0.08563, allocations: 0.6572 MB / 0.5923 GB, free: 6.348 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.503e-05/0.08569, allocations: 35.91 kB / 0.5924 GB, free: 6.312 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008483/0.09418, allocations: 15.56 MB / 0.6076 GB, free: 5.766 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.09418, allocations: 4 kB / 0.6076 GB, free: 5.762 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002203/0.09638, allocations: 1.478 MB / 0.609 GB, free: 4.184 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003769/0.09676, allocations: 279 kB / 0.6093 GB, free: 3.91 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.09686, allocations: 24 kB / 0.6093 GB, free: 3.887 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006155/0.09748, allocations: 183.6 kB / 0.6095 GB, free: 3.707 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001965/0.09768, allocations: 80.45 kB / 0.6095 GB, free: 3.629 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-05/0.09773, allocations: 35.97 kB / 0.6096 GB, free: 3.594 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0004967/0.09823, allocations: 0.5759 MB / 0.6101 GB, free: 3.012 MB / 0.573 GB Notification: Performance of sort global known variables: time 1e-07/0.09823, allocations: 0 / 0.6101 GB, free: 3.012 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001075/0.09931, allocations: 435.9 kB / 0.6106 GB, free: 2.586 MB / 0.573 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.0002038/0.09951, allocations: 119.2 kB / 0.6107 GB, free: 2.461 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002367/0.1019, allocations: 2.495 MB / 0.6131 GB, free: 15.82 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.1019, allocations: 4 kB / 0.6131 GB, free: 15.82 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001691/0.1036, allocations: 2.034 MB / 0.6151 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/0.1047, allocations: 0.4995 MB / 0.6156 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003471/0.1082, allocations: 2.647 MB / 0.6182 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/0.1085, allocations: 395.3 kB / 0.6186 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0007162/0.1092, allocations: 298.6 kB / 0.6188 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002311/0.1095, allocations: 96.44 kB / 0.6189 GB, free: 9.645 MB / 0.5886 GB Notification: Performance of SimCode: time 1.793e-06/0.1095, allocations: 0 / 0.6189 GB, free: 9.645 MB / 0.5886 GB Notification: Performance of Templates: time 0.03702/0.1465, allocations: 32.83 MB / 0.651 GB, free: 9.465 MB / 0.6198 GB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.422416887711734]