Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.04356/0.04356, allocations: 9.129 MB / 28.99 MB, free: 0.8203 MB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] 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.0009893/0.0009893, allocations: 95.2 kB / 35.33 MB, free: 1.078 MB / 24.77 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.001281/0.001281, allocations: 164.6 kB / 38.73 MB, free: 2.492 MB / 24.77 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.999/0.999, allocations: 177.1 MB / 219.2 MB, free: 10.12 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.004225/0.004225, allocations: 0.8295 MB / 276.5 MB, free: 0.7422 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.753/1.753, allocations: 274.9 MB / 0.5419 GB, free: 0.6406 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/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) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: translateModel(AixLib.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(AixLib.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.6378 GB, free: 14.16 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.408e-05/2.553e-05, allocations: 2.312 kB / 0.6378 GB, free: 14.16 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.01112/0.01115, allocations: 4.053 MB / 0.6418 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.006122/0.01727, allocations: 1.558 MB / 0.6433 GB, free: 8.512 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005062/0.01778, allocations: 35.69 kB / 0.6433 GB, free: 8.477 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0006444/0.01842, allocations: 170.8 kB / 0.6435 GB, free: 8.309 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0007581/0.01918, allocations: 365.6 kB / 0.6439 GB, free: 7.949 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.00405/0.02323, allocations: 331.2 kB / 0.6442 GB, free: 7.625 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.001224/0.02445, allocations: 0.9864 MB / 0.6451 GB, free: 6.633 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005759/0.02503, allocations: 407.1 kB / 0.6455 GB, free: 6.23 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003904/0.02893, allocations: 0.5182 MB / 0.646 GB, free: 5.711 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006105/0.02954, allocations: 370.9 kB / 0.6464 GB, free: 5.348 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 8.354e-05/0.02963, allocations: 48 kB / 0.6464 GB, free: 5.301 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002874/0.02991, allocations: 131.8 kB / 0.6466 GB, free: 5.172 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 0.0002261/0.03014, allocations: 259.2 kB / 0.6468 GB, free: 4.918 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 0.0002492/0.03039, allocations: 243.4 kB / 0.647 GB, free: 4.68 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0007275/0.03112, allocations: 0.5839 MB / 0.6476 GB, free: 4.094 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.03112, allocations: 3.938 kB / 0.6476 GB, free: 4.09 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.353e-06/0.03112, allocations: 0 / 0.6476 GB, free: 4.09 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 1.238e-05/0.03114, allocations: 0 / 0.6476 GB, free: 4.09 MB / 0.6043 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.00397/0.03511, allocations: 0.8374 MB / 0.6484 GB, free: 3.227 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.03514, allocations: 15.98 kB / 0.6484 GB, free: 3.211 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007603/0.0359, allocations: 228.3 kB / 0.6487 GB, free: 2.988 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005867/0.03649, allocations: 451.2 kB / 0.6491 GB, free: 2.516 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/0.03652, allocations: 37.38 kB / 0.6491 GB, free: 2.48 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/0.03665, allocations: 56.53 kB / 0.6492 GB, free: 2.426 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000633/0.03728, allocations: 0.6927 MB / 0.6499 GB, free: 1.613 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/0.0373, allocations: 8.125 kB / 0.6499 GB, free: 1.605 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.066e-05/0.03734, allocations: 24.12 kB / 0.6499 GB, free: 1.582 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001227/0.03747, allocations: 64.95 kB / 0.65 GB, free: 1.52 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000268/0.03773, allocations: 202.6 kB / 0.6501 GB, free: 1.32 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002544/0.04028, allocations: 3.03 MB / 0.6531 GB, free: 14.18 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002168/0.04049, allocations: 164.9 kB / 0.6533 GB, free: 14.01 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.742e-05/0.04058, allocations: 65.41 kB / 0.6533 GB, free: 13.94 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.04061, allocations: 8.281 kB / 0.6533 GB, free: 13.93 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.04064, allocations: 34.84 kB / 0.6534 GB, free: 13.89 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=33): time 2.966e-06/0.04064, allocations: 0 / 0.6534 GB, free: 13.89 MB / 0.6199 GB Notification: Performance of matching and sorting (n=34): time 0.001813/0.04245, allocations: 0.988 MB / 0.6543 GB, free: 12.86 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.675e-05/0.04248, allocations: 55.41 kB / 0.6544 GB, free: 12.8 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002393/0.04272, allocations: 403 kB / 0.6548 GB, free: 12.39 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.04274, allocations: 33.7 kB / 0.6548 GB, free: 12.35 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.04287, allocations: 309.4 kB / 0.6551 GB, free: 12.04 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 6.832e-05/0.04294, allocations: 134.8 kB / 0.6552 GB, free: 11.91 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.687e-05/0.04304, allocations: 90.25 kB / 0.6553 GB, free: 11.81 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.04314, allocations: 370.6 kB / 0.6557 GB, free: 11.44 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.184e-05/0.04322, allocations: 60.12 kB / 0.6557 GB, free: 11.38 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001527/0.04338, allocations: 231.3 kB / 0.6559 GB, free: 11.08 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002752/0.04365, allocations: 347.3 kB / 0.6563 GB, free: 10.67 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.04366, allocations: 8 kB / 0.6563 GB, free: 10.66 MB / 0.6199 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0005142/0.04417, allocations: 419.4 kB / 0.6567 GB, free: 10.23 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.04419, allocations: 8 kB / 0.6567 GB, free: 10.23 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.0442, allocations: 4 kB / 0.6567 GB, free: 10.22 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004005/0.0446, allocations: 163.2 kB / 0.6568 GB, free: 10.05 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002225/0.04482, allocations: 91.91 kB / 0.6569 GB, free: 9.965 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001847/0.04667, allocations: 2.637 MB / 0.6595 GB, free: 7.133 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001868/0.04685, allocations: 16 kB / 0.6595 GB, free: 7.117 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.171e-05/0.04687, allocations: 20 kB / 0.6595 GB, free: 7.098 MB / 0.6199 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 (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000144/0.04702, allocations: 148.5 kB / 0.6597 GB, free: 6.941 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.468e-05/0.04708, allocations: 47.94 kB / 0.6597 GB, free: 6.895 MB / 0.6199 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004109/0.04749, allocations: 325 kB / 0.66 GB, free: 6.562 MB / 0.6199 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.0475, allocations: 4.141 kB / 0.66 GB, free: 6.559 MB / 0.6199 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.0475, allocations: 7.984 kB / 0.6601 GB, free: 6.551 MB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.04751, allocations: 0 / 0.6601 GB, free: 6.551 MB / 0.6199 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007982/0.0483, allocations: 0.689 MB / 0.6607 GB, free: 5.812 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.04831, allocations: 0 / 0.6607 GB, free: 5.812 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001488/0.04846, allocations: 51.92 kB / 0.6608 GB, free: 5.762 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003468/0.0488, allocations: 151.4 kB / 0.6609 GB, free: 5.605 MB / 0.6199 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.04882, allocations: 11.94 kB / 0.6609 GB, free: 5.594 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001511/0.05033, allocations: 2.632 MB / 0.6635 GB, free: 2.762 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.05033, allocations: 3.938 kB / 0.6635 GB, free: 2.758 MB / 0.6199 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005393/0.05087, allocations: 0.52 MB / 0.664 GB, free: 2.195 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.05098, allocations: 71.58 kB / 0.6641 GB, free: 2.125 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.546e-05/0.05102, allocations: 8 kB / 0.6641 GB, free: 2.117 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.05115, allocations: 11.94 kB / 0.6641 GB, free: 2.105 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.251e-05/0.0512, allocations: 23.95 kB / 0.6641 GB, free: 2.082 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.05122, allocations: 12 kB / 0.6641 GB, free: 2.07 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 0.0001161/0.05133, allocations: 164.7 kB / 0.6643 GB, free: 1.91 MB / 0.6199 GB Notification: Performance of sort global known variables: time 6.1e-08/0.05133, allocations: 4 kB / 0.6643 GB, free: 1.906 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.0004111/0.05174, allocations: 148 kB / 0.6644 GB, free: 1.762 MB / 0.6199 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,2,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001285/0.05187, allocations: 92.36 kB / 0.6645 GB, free: 1.66 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.0008469/0.05272, allocations: 0.5272 MB / 0.665 GB, free: 1.105 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 1.07e-05/0.05273, allocations: 4.375 kB / 0.665 GB, free: 1.102 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 0.0003079/0.05304, allocations: 385.7 kB / 0.6654 GB, free: 0.6953 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004585/0.05349, allocations: 169.4 kB / 0.6656 GB, free: 0.5352 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00142/0.05492, allocations: 1.06 MB / 0.6666 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000127/0.05504, allocations: 170.3 kB / 0.6668 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001836/0.05523, allocations: 60.66 kB / 0.6668 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002381/0.05546, allocations: 173.2 kB / 0.667 GB, free: 15 MB / 0.6355 GB Notification: Performance of SimCode: time 1.213e-06/0.05547, allocations: 0 / 0.667 GB, free: 15 MB / 0.6355 GB Notification: Performance of Templates: time 0.0115/0.06696, allocations: 8.525 MB / 0.6753 GB, free: 6.465 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile [Timeout 660] (rm -f AixLib_AixLib.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo AixLib_AixLib.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < AixLib_AixLib.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/AixLib_AixLib.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./AixLib_AixLib.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.152152438182384]