Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.04573/0.04573, allocations: 9.132 MB / 28.99 MB, free: 0.8086 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.0009881/0.0009881, allocations: 98.39 kB / 35.33 MB, free: 1.066 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.00122/0.00122, allocations: 168.4 kB / 38.73 MB, free: 2.477 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 1.063/1.063, allocations: 177.1 MB / 219.2 MB, free: 10.13 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.00403/0.00403, allocations: 0.8261 MB / 276.5 MB, free: 0.7539 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.699/1.699, allocations: 274.9 MB / 0.5419 GB, free: 0.6211 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(AixLib.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Electrical.AC.OnePhase.Lines.Examples.ACLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.6378 GB, free: 14.13 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.743e-05/2.879e-05, allocations: 2.312 kB / 0.6378 GB, free: 14.13 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.007074/0.007103, allocations: 7.642 MB / 0.6453 GB, free: 6.445 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.008214/0.01532, allocations: 5.942 MB / 0.6511 GB, free: 492 kB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00127/0.01659, allocations: 75.31 kB / 0.6512 GB, free: 416 kB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.001069/0.01766, allocations: 381.1 kB / 0.6515 GB, free: 32 kB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.003328/0.02098, allocations: 1.44 MB / 0.653 GB, free: 14.58 MB / 0.6199 GB Notification: Performance of NFTyping.typeClassSections: time 0.001198/0.02218, allocations: 0.5653 MB / 0.6535 GB, free: 14.02 MB / 0.6199 GB Notification: Performance of NFFlatten.flatten: time 0.003291/0.02547, allocations: 2.364 MB / 0.6558 GB, free: 11.64 MB / 0.6199 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001679/0.02715, allocations: 1.215 MB / 0.657 GB, free: 10.39 MB / 0.6199 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002426/0.02958, allocations: 1.555 MB / 0.6585 GB, free: 8.828 MB / 0.6199 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001342/0.03092, allocations: 0.8531 MB / 0.6594 GB, free: 7.973 MB / 0.6199 GB Notification: Performance of NFPackage.collectConstants: time 0.0002531/0.03117, allocations: 136 kB / 0.6595 GB, free: 7.84 MB / 0.6199 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006197/0.03179, allocations: 287.6 kB / 0.6598 GB, free: 7.559 MB / 0.6199 GB Notification: Performance of NFScalarize.scalarize: time 0.0004287/0.03222, allocations: 0.588 MB / 0.6603 GB, free: 6.969 MB / 0.6199 GB Notification: Performance of NFVerifyModel.verify: time 0.0005792/0.0328, allocations: 0.5922 MB / 0.6609 GB, free: 6.375 MB / 0.6199 GB Notification: Performance of NFConvertDAE.convert: time 0.001733/0.03453, allocations: 1.401 MB / 0.6623 GB, free: 4.969 MB / 0.6199 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.03454, allocations: 0 / 0.6623 GB, free: 4.969 MB / 0.6199 GB Notification: Performance of FrontEnd: time 2.625e-06/0.03454, allocations: 3.984 kB / 0.6623 GB, free: 4.965 MB / 0.6199 GB Notification: Performance of Transformations before backend: time 2.272e-05/0.03456, allocations: 0 / 0.6623 GB, free: 4.965 MB / 0.6199 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.001808/0.03637, allocations: 1.853 MB / 0.6641 GB, free: 3.078 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.03641, allocations: 11.98 kB / 0.6641 GB, free: 3.066 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002861/0.03927, allocations: 0.7885 MB / 0.6649 GB, free: 2.277 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001335/0.04061, allocations: 1.021 MB / 0.6659 GB, free: 1.203 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.181e-05/0.04066, allocations: 94.62 kB / 0.666 GB, free: 1.109 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001656/0.04082, allocations: 124.3 kB / 0.6661 GB, free: 0.9883 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001663/0.04249, allocations: 1.538 MB / 0.6676 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.175e-05/0.04252, allocations: 11.88 kB / 0.6676 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-05/0.04261, allocations: 47.98 kB / 0.6676 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000167/0.04278, allocations: 106.2 kB / 0.6677 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008821/0.04366, allocations: 0.5302 MB / 0.6683 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005006/0.04867, allocations: 5.289 MB / 0.6734 GB, free: 9.098 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008356/0.0495, allocations: 406.9 kB / 0.6738 GB, free: 8.688 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000228/0.04973, allocations: 158.3 kB / 0.674 GB, free: 8.531 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.986e-05/0.04976, allocations: 16.5 kB / 0.674 GB, free: 8.512 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.04979, allocations: 39.06 kB / 0.674 GB, free: 8.465 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=53): time 3.036e-06/0.0498, allocations: 0 / 0.674 GB, free: 8.465 MB / 0.6355 GB Notification: Performance of matching and sorting (n=54): time 0.003848/0.05364, allocations: 1.833 MB / 0.6758 GB, free: 6.613 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.008e-05/0.05367, allocations: 59.84 kB / 0.6759 GB, free: 6.543 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005692/0.05424, allocations: 0.8394 MB / 0.6767 GB, free: 5.691 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.975e-05/0.0543, allocations: 37.7 kB / 0.6767 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002575/0.05456, allocations: 0.5994 MB / 0.6773 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001288/0.05469, allocations: 198.3 kB / 0.6775 GB, free: 4.844 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001856/0.05487, allocations: 146.5 kB / 0.6776 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.024e-05/0.05496, allocations: 337.9 kB / 0.678 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001976/0.05516, allocations: 145.9 kB / 0.6781 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003139/0.05548, allocations: 380.9 kB / 0.6785 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005351/0.05601, allocations: 0.5691 MB / 0.679 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.05602, allocations: 4 kB / 0.679 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001133/0.05715, allocations: 0.8014 MB / 0.6798 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.05717, allocations: 11.94 kB / 0.6798 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.05718, allocations: 8 kB / 0.6798 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008459/0.05803, allocations: 350.3 kB / 0.6802 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00049/0.05852, allocations: 171.7 kB / 0.6803 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3335/0.392, allocations: 5.411 MB / 0.6856 GB, free: 40.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008213/0.3929, allocations: 45.06 kB / 0.6856 GB, free: 40.62 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.829e-05/0.3929, allocations: 36.47 kB / 0.6857 GB, free: 40.62 MB / 0.6355 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 (73): * Single equations (assignments): 69 * 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%), (3,5,100.0%), (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.0003818/0.3933, allocations: 157.7 kB / 0.6858 GB, free: 40.5 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002075/0.3935, allocations: 98.19 kB / 0.6859 GB, free: 40.5 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001398/0.3949, allocations: 0.7442 MB / 0.6866 GB, free: 40.39 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/0.3949, allocations: 7.812 kB / 0.6867 GB, free: 40.39 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.3949, allocations: 5.5 kB / 0.6867 GB, free: 40.39 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.3949, allocations: 1.781 kB / 0.6867 GB, free: 40.39 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002697/0.3976, allocations: 1.409 MB / 0.688 GB, free: 40.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/0.3977, allocations: 2.5 kB / 0.688 GB, free: 40.05 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004441/0.3981, allocations: 102 kB / 0.6881 GB, free: 40.05 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001081/0.3992, allocations: 335.3 kB / 0.6885 GB, free: 40.01 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.06e-05/0.3992, allocations: 24.94 kB / 0.6885 GB, free: 40 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003559/0.4028, allocations: 5.423 MB / 0.6938 GB, free: 35.37 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.4028, allocations: 1.719 kB / 0.6938 GB, free: 35.37 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001575/0.4044, allocations: 0.7896 MB / 0.6946 GB, free: 35.07 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004068/0.4048, allocations: 203.2 kB / 0.6947 GB, free: 35.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001361/0.4049, allocations: 11.62 kB / 0.6948 GB, free: 35.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004276/0.4054, allocations: 38.02 kB / 0.6948 GB, free: 35.07 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001791/0.4055, allocations: 50.41 kB / 0.6948 GB, free: 35.07 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.96e-05/0.4056, allocations: 25.56 kB / 0.6949 GB, free: 35.07 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005041/0.4061, allocations: 421.4 kB / 0.6953 GB, free: 35.03 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4061, allocations: 2.031 kB / 0.6953 GB, free: 35.03 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00114/0.4072, allocations: 345 kB / 0.6956 GB, free: 35.03 MB / 0.6355 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 (37): * Single equations (assignments): 33 * 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%), (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.0002344/0.4075, allocations: 109.5 kB / 0.6957 GB, free: 34.96 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001469/0.4089, allocations: 1.074 MB / 0.6967 GB, free: 34.48 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-05/0.409, allocations: 15.12 kB / 0.6968 GB, free: 34.48 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0008944/0.4099, allocations: 0.8175 MB / 0.6976 GB, free: 34 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001412/0.4113, allocations: 488 kB / 0.698 GB, free: 33.99 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003836/0.4151, allocations: 2.259 MB / 0.7002 GB, free: 32.93 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004405/0.4156, allocations: 334.5 kB / 0.7006 GB, free: 32.84 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001008/0.4166, allocations: 277 kB / 0.7008 GB, free: 32.79 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009129/0.4175, allocations: 393.8 kB / 0.7012 GB, free: 32.73 MB / 0.6355 GB Notification: Performance of SimCode: time 1.724e-06/0.4175, allocations: 5.75 kB / 0.7012 GB, free: 32.73 MB / 0.6355 GB Notification: Performance of Templates: time 0.03312/0.4506, allocations: 26.51 MB / 0.7271 GB, free: 19.2 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile [Timeout 660] (rm -f AixLib_AixLib.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo AixLib_AixLib.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < AixLib_AixLib.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/AixLib_AixLib.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./AixLib_AixLib.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.466143791098148]