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.0009636/0.0009636, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001064/0.001064, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.929/0.929, allocations: 177.1 MB / 204.5 MB, free: 5.492 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-545:108: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-545:116: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.7561/0.7561, allocations: 154.6 MB / 415.6 MB, free: 0.5234 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.533e-06/1.533e-06, allocations: 0 / 0.5215 GB, free: 1.938 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.56e-05/1.713e-05, allocations: 2.312 kB / 0.5215 GB, free: 1.934 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.003998/0.004015, allocations: 4.095 MB / 0.5255 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002219/0.006234, allocations: 1.526 MB / 0.527 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002355/0.006469, allocations: 31.69 kB / 0.5271 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004955/0.006965, allocations: 178.7 kB / 0.5272 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0005295/0.007494, allocations: 365.7 kB / 0.5276 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005189/0.008013, allocations: 337.2 kB / 0.5279 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0008596/0.008873, allocations: 0.9946 MB / 0.5289 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004497/0.009322, allocations: 382.4 kB / 0.5292 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005242/0.009847, allocations: 0.5235 MB / 0.5297 GB, free: 9.527 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004257/0.01027, allocations: 383.5 kB / 0.5301 GB, free: 9.152 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.41e-05/0.01033, allocations: 48.84 kB / 0.5302 GB, free: 9.105 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001889/0.01052, allocations: 127.7 kB / 0.5303 GB, free: 8.98 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001781/0.01069, allocations: 267.2 kB / 0.5305 GB, free: 8.719 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001705/0.01086, allocations: 246.3 kB / 0.5308 GB, free: 8.48 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005286/0.01139, allocations: 0.5916 MB / 0.5314 GB, free: 7.887 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.01139, allocations: 0 / 0.5314 GB, free: 7.887 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.11e-07/0.0114, allocations: 0 / 0.5314 GB, free: 7.887 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.0114, allocations: 0 / 0.5314 GB, free: 7.887 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001066/0.01247, allocations: 0.9874 MB / 0.5323 GB, free: 6.863 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.0125, allocations: 8.031 kB / 0.5323 GB, free: 6.855 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009019/0.0134, allocations: 250 kB / 0.5326 GB, free: 6.613 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005782/0.01398, allocations: 455.8 kB / 0.533 GB, free: 6.148 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.227e-05/0.01401, allocations: 49.3 kB / 0.533 GB, free: 6.102 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/0.01414, allocations: 68.48 kB / 0.5331 GB, free: 6.035 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006642/0.0148, allocations: 0.7512 MB / 0.5338 GB, free: 5.137 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.335e-05/0.01483, allocations: 8.781 kB / 0.5338 GB, free: 5.129 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.253e-05/0.01487, allocations: 20.12 kB / 0.5339 GB, free: 5.109 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001277/0.015, allocations: 65.95 kB / 0.5339 GB, free: 5.047 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003194/0.01531, allocations: 222.6 kB / 0.5341 GB, free: 4.832 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002711/0.01803, allocations: 4.303 MB / 0.5383 GB, free: 392 kB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002132/0.01824, allocations: 135.8 kB / 0.5385 GB, free: 244 kB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.01835, allocations: 76.22 kB / 0.5385 GB, free: 164 kB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.01837, allocations: 10.72 kB / 0.5386 GB, free: 156 kB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.01839, allocations: 37.61 kB / 0.5386 GB, free: 108 kB / 0.4948 GB Notification: Performance of pre-optimization done (n=33): time 1.903e-06/0.0184, allocations: 0 / 0.5386 GB, free: 108 kB / 0.4948 GB Notification: Performance of matching and sorting (n=40): time 0.002703/0.0211, allocations: 1.354 MB / 0.5399 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/0.02113, allocations: 56.31 kB / 0.54 GB, free: 14.64 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003243/0.02145, allocations: 458.2 kB / 0.5404 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/0.02148, allocations: 33.7 kB / 0.5404 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002068/0.02169, allocations: 407.7 kB / 0.5408 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.952e-05/0.02179, allocations: 155.4 kB / 0.541 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001424/0.02193, allocations: 111.9 kB / 0.5411 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.02209, allocations: 0.5327 MB / 0.5416 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.02221, allocations: 77.25 kB / 0.5417 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002557/0.02247, allocations: 327.2 kB / 0.542 GB, free: 12.42 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004146/0.02288, allocations: 445.5 kB / 0.5424 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.02289, allocations: 3.938 kB / 0.5424 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008837/0.02377, allocations: 0.573 MB / 0.543 GB, free: 11.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.02379, allocations: 8 kB / 0.543 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.0238, allocations: 4.938 kB / 0.543 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006854/0.02449, allocations: 231.6 kB / 0.5432 GB, free: 11.06 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002872/0.02477, allocations: 103.8 kB / 0.5433 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003347/0.02812, allocations: 5.55 MB / 0.5487 GB, free: 5.074 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002383/0.02836, allocations: 16 kB / 0.5487 GB, free: 5.059 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.525e-05/0.02839, allocations: 22.78 kB / 0.5488 GB, free: 5.039 MB / 0.5105 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.0001569/0.02855, allocations: 188.4 kB / 0.5489 GB, free: 4.844 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.405e-05/0.02864, allocations: 71.75 kB / 0.549 GB, free: 4.773 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007605/0.02941, allocations: 466.6 kB / 0.5495 GB, free: 4.301 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.02941, allocations: 4.562 kB / 0.5495 GB, free: 4.297 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.02941, allocations: 0 / 0.5495 GB, free: 4.297 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.02942, allocations: 1.312 kB / 0.5495 GB, free: 4.297 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001284/0.0307, allocations: 0.9439 MB / 0.5504 GB, free: 3.281 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.0307, allocations: 4 kB / 0.5504 GB, free: 3.277 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001941/0.0309, allocations: 55.91 kB / 0.5504 GB, free: 3.223 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006194/0.03152, allocations: 210.6 kB / 0.5506 GB, free: 3.012 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.438e-05/0.03154, allocations: 12 kB / 0.5507 GB, free: 3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00296/0.0345, allocations: 5.54 MB / 0.5561 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.03451, allocations: 4 kB / 0.5561 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008697/0.03537, allocations: 0.6941 MB / 0.5567 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/0.0355, allocations: 75.62 kB / 0.5568 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.936e-05/0.03555, allocations: 18.33 kB / 0.5568 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001913/0.03574, allocations: 12.14 kB / 0.5568 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.587e-05/0.03581, allocations: 35.92 kB / 0.5569 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.339e-05/0.03583, allocations: 12.12 kB / 0.5569 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001827/0.03601, allocations: 282.7 kB / 0.5572 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9e-08/0.03601, allocations: 0 / 0.5572 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005301/0.03654, allocations: 172 kB / 0.5573 GB, free: 11.77 MB / 0.5261 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.0001328/0.03668, allocations: 121.4 kB / 0.5574 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008727/0.03755, allocations: 0.878 MB / 0.5583 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.03755, allocations: 4 kB / 0.5583 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000556/0.03811, allocations: 0.7194 MB / 0.559 GB, free: 9.941 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006533/0.03876, allocations: 171.5 kB / 0.5592 GB, free: 9.793 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/0.04038, allocations: 1.148 MB / 0.5603 GB, free: 8.621 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000143/0.04053, allocations: 178.5 kB / 0.5605 GB, free: 8.426 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001913/0.04072, allocations: 68.5 kB / 0.5605 GB, free: 8.367 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002918/0.04101, allocations: 210.1 kB / 0.5607 GB, free: 8.16 MB / 0.5261 GB Notification: Performance of SimCode: time 8.72e-07/0.04101, allocations: 0 / 0.5607 GB, free: 8.16 MB / 0.5261 GB Notification: Performance of Templates: time 0.01365/0.05466, allocations: 9.965 MB / 0.5705 GB, free: 14.45 MB / 0.5417 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=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8582292161881924]