Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.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.001505/0.001505, allocations: 92.2 kB / 20.19 MB, free: 4.355 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.00183/0.00183, allocations: 169 kB / 23.49 MB, free: 1.055 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.9857/0.9857, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.812/0.812, allocations: 154.8 MB / 415.1 MB, free: 0.5 MB / 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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0.875 kB / 0.5206 GB, free: 2.312 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.896e-05/3.118e-05, allocations: 4.609 kB / 0.5206 GB, free: 2.309 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.007434/0.007466, allocations: 6.896 MB / 0.5273 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.004083/0.01155, allocations: 3.142 MB / 0.5304 GB, free: 8.266 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005543/0.0121, allocations: 39.62 kB / 0.5304 GB, free: 8.227 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001424/0.01353, allocations: 0.9808 MB / 0.5314 GB, free: 7.246 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001097/0.01462, allocations: 0.5323 MB / 0.5319 GB, free: 6.715 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009692/0.01559, allocations: 446.7 kB / 0.5323 GB, free: 6.281 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001125/0.01672, allocations: 1.267 MB / 0.5336 GB, free: 5.008 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007445/0.01746, allocations: 0.5334 MB / 0.5341 GB, free: 4.473 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001017/0.01848, allocations: 0.6691 MB / 0.5347 GB, free: 3.805 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005538/0.01903, allocations: 490.6 kB / 0.5352 GB, free: 3.324 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 7.712e-05/0.01911, allocations: 64 kB / 0.5353 GB, free: 3.262 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005372/0.01965, allocations: 347.1 kB / 0.5356 GB, free: 2.922 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002471/0.01989, allocations: 339 kB / 0.5359 GB, free: 2.59 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002607/0.02016, allocations: 311.3 kB / 0.5362 GB, free: 2.285 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0009171/0.02107, allocations: 0.8804 MB / 0.5371 GB, free: 1.402 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.02108, allocations: 0 / 0.5371 GB, free: 1.402 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.715e-06/0.02108, allocations: 5.25 kB / 0.5371 GB, free: 1.398 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.325e-05/0.02109, allocations: 0 / 0.5371 GB, free: 1.398 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.001304/0.0224, allocations: 1.206 MB / 0.5383 GB, free: 160 kB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.02244, allocations: 10.78 kB / 0.5383 GB, free: 152 kB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/0.02358, allocations: 347.7 kB / 0.5386 GB, free: 15.81 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006653/0.02424, allocations: 0.5652 MB / 0.5392 GB, free: 15.22 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.272e-05/0.02428, allocations: 46.23 kB / 0.5392 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.94e-05/0.02436, allocations: 73.42 kB / 0.5393 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009254/0.02528, allocations: 1.076 MB / 0.5403 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/0.0253, allocations: 4.125 kB / 0.5403 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.149e-05/0.02536, allocations: 33.58 kB / 0.5404 GB, free: 13.79 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001118/0.02547, allocations: 89.19 kB / 0.5404 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004998/0.02597, allocations: 361 kB / 0.5408 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00341/0.02938, allocations: 5.712 MB / 0.5464 GB, free: 7.445 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005534/0.02993, allocations: 285.2 kB / 0.5466 GB, free: 7.156 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001962/0.03013, allocations: 133.1 kB / 0.5468 GB, free: 7.023 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.703e-05/0.03015, allocations: 8.5 kB / 0.5468 GB, free: 7.016 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.03019, allocations: 45.89 kB / 0.5468 GB, free: 6.961 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=47): time 2.535e-06/0.03019, allocations: 0 / 0.5468 GB, free: 6.961 MB / 0.5105 GB Notification: Performance of matching and sorting (n=48): time 0.001996/0.03219, allocations: 1.089 MB / 0.5479 GB, free: 5.863 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/0.03222, allocations: 55.91 kB / 0.5479 GB, free: 5.797 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003808/0.0326, allocations: 0.5419 MB / 0.5485 GB, free: 5.238 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.03262, allocations: 30.64 kB / 0.5485 GB, free: 5.203 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002081/0.03283, allocations: 474.6 kB / 0.5489 GB, free: 4.73 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001188/0.03295, allocations: 182.5 kB / 0.5491 GB, free: 4.551 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.03308, allocations: 128.8 kB / 0.5492 GB, free: 4.414 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.03322, allocations: 0.5438 MB / 0.5498 GB, free: 3.859 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/0.03339, allocations: 113.9 kB / 0.5499 GB, free: 3.75 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000366/0.03376, allocations: 434.2 kB / 0.5503 GB, free: 3.195 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004787/0.03424, allocations: 0.579 MB / 0.5509 GB, free: 2.492 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.03424, allocations: 4 kB / 0.5509 GB, free: 2.488 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0009977/0.03524, allocations: 0.7457 MB / 0.5516 GB, free: 1.73 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.03526, allocations: 8 kB / 0.5516 GB, free: 1.723 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.03527, allocations: 8 kB / 0.5516 GB, free: 1.715 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007621/0.03603, allocations: 306.4 kB / 0.5519 GB, free: 1.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002649/0.0363, allocations: 127.8 kB / 0.552 GB, free: 1.285 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004223/0.04052, allocations: 7.6 MB / 0.5594 GB, free: 9.199 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003891/0.04091, allocations: 35.97 kB / 0.5595 GB, free: 9.164 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.435e-05/0.04094, allocations: 31.94 kB / 0.5595 GB, free: 9.133 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.0002083/0.04115, allocations: 198.8 kB / 0.5597 GB, free: 8.93 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.908e-05/0.04124, allocations: 91.56 kB / 0.5598 GB, free: 8.84 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007439/0.04198, allocations: 0.5429 MB / 0.5603 GB, free: 8.273 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.04199, allocations: 8.172 kB / 0.5603 GB, free: 8.266 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.042, allocations: 8 kB / 0.5603 GB, free: 8.258 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.042, allocations: 0 / 0.5603 GB, free: 8.258 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001314/0.04331, allocations: 1.174 MB / 0.5615 GB, free: 7.004 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.04332, allocations: 0 / 0.5615 GB, free: 7.004 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001404/0.04346, allocations: 63.89 kB / 0.5615 GB, free: 6.941 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006628/0.04412, allocations: 298.7 kB / 0.5618 GB, free: 6.645 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.474e-05/0.04414, allocations: 8.719 kB / 0.5618 GB, free: 6.637 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004222/0.04837, allocations: 7.597 MB / 0.5692 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/0.04837, allocations: 7.938 kB / 0.5693 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000943/0.04932, allocations: 0.7262 MB / 0.57 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001719/0.04949, allocations: 111.5 kB / 0.5701 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.388e-05/0.04953, allocations: 12.94 kB / 0.5701 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/0.04973, allocations: 28.16 kB / 0.5701 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.04983, allocations: 61.7 kB / 0.5702 GB, free: 13.56 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.052e-05/0.04985, allocations: 16 kB / 0.5702 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002631/0.05011, allocations: 342.8 kB / 0.5705 GB, free: 13.21 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9e-08/0.05011, allocations: 0 / 0.5705 GB, free: 13.21 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0006561/0.05077, allocations: 220 kB / 0.5707 GB, free: 13 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.0001373/0.0509, allocations: 122 kB / 0.5708 GB, free: 12.87 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001249/0.05215, allocations: 1.188 MB / 0.572 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.05216, allocations: 0 / 0.572 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000698/0.05286, allocations: 0.9702 MB / 0.5729 GB, free: 10.58 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006446/0.0535, allocations: 204.5 kB / 0.5731 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001864/0.05536, allocations: 1.274 MB / 0.5744 GB, free: 9.062 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001911/0.05556, allocations: 211.4 kB / 0.5746 GB, free: 8.832 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002613/0.05582, allocations: 99.84 kB / 0.5747 GB, free: 8.746 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.468e-05/0.0559, allocations: 40.5 kB / 0.5747 GB, free: 8.707 MB / 0.5417 GB Notification: Performance of SimCode: time 1.793e-06/0.0559, allocations: 0 / 0.5747 GB, free: 8.707 MB / 0.5417 GB Notification: Performance of Templates: time 0.01453/0.07043, allocations: 11.46 MB / 0.5859 GB, free: 13.55 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.137100799009204]