Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.0007268/0.0007268, allocations: 76.5 kB / 19.93 MB, free: 4.621 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.0007246/0.0007246, allocations: 177.9 kB / 23.21 MB, free: 1.34 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.8712/0.8712, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7055/0.7055, allocations: 154.6 MB / 414.5 MB, free: 0.8164 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 0.6193 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.528e-05/1.645e-05, allocations: 8.078 kB / 0.6193 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.004476/0.004493, allocations: 5.281 MB / 0.6245 GB, free: 7.867 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002373/0.006866, allocations: 2.595 MB / 0.627 GB, free: 5.262 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001822/0.007048, allocations: 35.69 kB / 0.6271 GB, free: 5.227 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001117/0.008165, allocations: 0.6844 MB / 0.6277 GB, free: 4.539 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.000469/0.008634, allocations: 441.2 kB / 0.6282 GB, free: 4.105 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004333/0.009067, allocations: 409.3 kB / 0.6285 GB, free: 3.707 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0005975/0.009665, allocations: 0.9902 MB / 0.6295 GB, free: 2.711 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00038/0.01004, allocations: 386.4 kB / 0.6299 GB, free: 2.328 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004049/0.01045, allocations: 0.5143 MB / 0.6304 GB, free: 1.812 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003187/0.01077, allocations: 366.9 kB / 0.6307 GB, free: 1.453 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 4.589e-05/0.01081, allocations: 48 kB / 0.6308 GB, free: 1.406 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000288/0.0111, allocations: 331.1 kB / 0.6311 GB, free: 1.082 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001531/0.01126, allocations: 263.2 kB / 0.6313 GB, free: 0.8242 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001493/0.0114, allocations: 243.4 kB / 0.6316 GB, free: 0.5859 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0006783/0.01208, allocations: 1.001 MB / 0.6326 GB, free: 15.58 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.01208, allocations: 0 / 0.6326 GB, free: 15.58 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.012e-06/0.01209, allocations: 0 / 0.6326 GB, free: 15.58 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.01209, allocations: 4 kB / 0.6326 GB, free: 15.58 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.0009185/0.01301, allocations: 0.9092 MB / 0.6334 GB, free: 14.64 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.01304, allocations: 12.03 kB / 0.6335 GB, free: 14.62 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006707/0.01371, allocations: 204.2 kB / 0.6336 GB, free: 14.43 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004948/0.01421, allocations: 468.1 kB / 0.6341 GB, free: 13.95 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.368e-05/0.01423, allocations: 37.36 kB / 0.6341 GB, free: 13.91 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.7e-05/0.01433, allocations: 52.55 kB / 0.6342 GB, free: 13.86 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009767/0.0153, allocations: 0.9828 MB / 0.6351 GB, free: 12.76 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.01532, allocations: 12.11 kB / 0.6352 GB, free: 12.75 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.71e-05/0.01536, allocations: 28.11 kB / 0.6352 GB, free: 12.72 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.762e-05/0.01546, allocations: 64.95 kB / 0.6352 GB, free: 12.66 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005518/0.01601, allocations: 0.5735 MB / 0.6358 GB, free: 12.09 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002176/0.01819, allocations: 3.484 MB / 0.6392 GB, free: 8.473 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002882/0.01848, allocations: 267.3 kB / 0.6395 GB, free: 8.203 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001845/0.01866, allocations: 213.3 kB / 0.6397 GB, free: 7.992 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.01868, allocations: 8.219 kB / 0.6397 GB, free: 7.984 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.0187, allocations: 42.78 kB / 0.6397 GB, free: 7.934 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 1.472e-06/0.0187, allocations: 4 kB / 0.6397 GB, free: 7.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.003172/0.02188, allocations: 2.318 MB / 0.642 GB, free: 5.562 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.012e-05/0.02191, allocations: 63.34 kB / 0.642 GB, free: 5.488 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000272/0.02218, allocations: 429.7 kB / 0.6424 GB, free: 5.062 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.0222, allocations: 29.7 kB / 0.6425 GB, free: 5.027 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.02235, allocations: 360.4 kB / 0.6428 GB, free: 4.668 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.074e-05/0.02242, allocations: 154.6 kB / 0.643 GB, free: 4.516 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.02252, allocations: 102.3 kB / 0.6431 GB, free: 4.41 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.869e-05/0.02261, allocations: 362.7 kB / 0.6434 GB, free: 4.047 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002254/0.02283, allocations: 245.2 kB / 0.6436 GB, free: 3.809 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002926/0.02312, allocations: 403.4 kB / 0.644 GB, free: 3.34 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005425/0.02367, allocations: 0.6779 MB / 0.6447 GB, free: 2.59 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.02367, allocations: 4 kB / 0.6447 GB, free: 2.586 MB / 0.6042 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009257/0.0246, allocations: 0.9132 MB / 0.6456 GB, free: 1.656 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.02461, allocations: 11.94 kB / 0.6456 GB, free: 1.645 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.02462, allocations: 4 kB / 0.6456 GB, free: 1.641 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004094/0.02503, allocations: 231 kB / 0.6458 GB, free: 1.406 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002545/0.02528, allocations: 115.8 kB / 0.6459 GB, free: 1.293 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003048/0.02833, allocations: 4.93 MB / 0.6507 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001831/0.02851, allocations: 32.09 kB / 0.6508 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.459e-05/0.02854, allocations: 27.94 kB / 0.6508 GB, free: 12 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0001667/0.0287, allocations: 225.6 kB / 0.651 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.806e-05/0.02875, allocations: 51.67 kB / 0.6511 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008409/0.02959, allocations: 0.7694 MB / 0.6518 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.02959, allocations: 4 kB / 0.6518 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.0296, allocations: 0 / 0.6518 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.0296, allocations: 3.984 kB / 0.6518 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001296/0.0309, allocations: 1.326 MB / 0.6531 GB, free: 9.523 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.0309, allocations: 4 kB / 0.6531 GB, free: 9.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001757/0.03108, allocations: 63.89 kB / 0.6532 GB, free: 9.457 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003305/0.03141, allocations: 210.5 kB / 0.6534 GB, free: 9.242 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.03143, allocations: 12 kB / 0.6534 GB, free: 9.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002842/0.03427, allocations: 4.872 MB / 0.6582 GB, free: 4.055 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.03427, allocations: 7.938 kB / 0.6582 GB, free: 4.047 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/0.03527, allocations: 1.112 MB / 0.6593 GB, free: 2.887 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.03539, allocations: 87.62 kB / 0.6593 GB, free: 2.801 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.231e-05/0.03542, allocations: 19.88 kB / 0.6594 GB, free: 2.781 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.03557, allocations: 23.97 kB / 0.6594 GB, free: 2.758 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.982e-05/0.03562, allocations: 39.88 kB / 0.6594 GB, free: 2.719 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.03564, allocations: 12 kB / 0.6594 GB, free: 2.707 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001821/0.03582, allocations: 294.9 kB / 0.6597 GB, free: 2.418 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.03582, allocations: 0 / 0.6597 GB, free: 2.418 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000357/0.03618, allocations: 172 kB / 0.6599 GB, free: 2.25 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001011/0.03628, allocations: 111.1 kB / 0.66 GB, free: 2.133 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008673/0.03715, allocations: 0.9726 MB / 0.6609 GB, free: 1.121 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.03715, allocations: 4 kB / 0.6609 GB, free: 1.117 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004647/0.03762, allocations: 0.6642 MB / 0.6616 GB, free: 424 kB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004749/0.03809, allocations: 163.4 kB / 0.6617 GB, free: 268 kB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.03954, allocations: 1.294 MB / 0.663 GB, free: 14.92 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002099/0.03975, allocations: 354.1 kB / 0.6633 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.919e-05/0.03984, allocations: 40.5 kB / 0.6634 GB, free: 14.51 MB / 0.6355 GB Notification: Performance of SimCode: time 5.01e-07/0.03984, allocations: 0 / 0.6634 GB, free: 14.51 MB / 0.6355 GB Notification: Performance of Templates: time 0.2311/0.271, allocations: 15.05 MB / 0.6781 GB, free: 96.4 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.2887516394257545] Failed to read output from testmodel.py, exit status != 0: 0.2757166624069214 0.28165448299999996 0.26822596699999995 Calling exit ...