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.07946/0.07946, allocations: 9.126 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.001383/0.001383, allocations: 87.28 kB / 35.32 MB, free: 1.074 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.001277/0.001277, allocations: 164.4 kB / 38.73 MB, free: 2.508 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.993/0.993, allocations: 177.1 MB / 219.2 MB, free: 10.09 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.004162/0.004162, allocations: 0.8217 MB / 276.5 MB, free: 0.7148 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.716/1.716, allocations: 274.9 MB / 0.5419 GB, free: 0.6445 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.412e-06/1.412e-06, allocations: 0 / 0.6379 GB, free: 14.11 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/2.012e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.11 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.02744/0.02746, allocations: 7.701 MB / 0.6454 GB, free: 6.363 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.01122/0.03867, allocations: 5.93 MB / 0.6512 GB, free: 420 kB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004551/0.03913, allocations: 79.31 kB / 0.6513 GB, free: 340 kB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.000688/0.03982, allocations: 377 kB / 0.6516 GB, free: 15.96 MB / 0.6199 GB Notification: Performance of NFTyping.typeBindings: time 0.001877/0.0417, allocations: 1.424 MB / 0.653 GB, free: 14.53 MB / 0.6199 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006826/0.04238, allocations: 0.5614 MB / 0.6536 GB, free: 13.96 MB / 0.6199 GB Notification: Performance of NFFlatten.flatten: time 0.001744/0.04412, allocations: 2.371 MB / 0.6559 GB, free: 11.58 MB / 0.6199 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001079/0.0452, allocations: 1.215 MB / 0.6571 GB, free: 10.33 MB / 0.6199 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00144/0.04664, allocations: 1.551 MB / 0.6586 GB, free: 8.773 MB / 0.6199 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008143/0.04746, allocations: 0.857 MB / 0.6594 GB, free: 7.914 MB / 0.6199 GB Notification: Performance of NFPackage.collectConstants: time 0.000131/0.04759, allocations: 132 kB / 0.6595 GB, free: 7.785 MB / 0.6199 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003681/0.04795, allocations: 299.6 kB / 0.6598 GB, free: 7.492 MB / 0.6199 GB Notification: Performance of NFScalarize.scalarize: time 0.000344/0.0483, allocations: 0.5958 MB / 0.6604 GB, free: 6.895 MB / 0.6199 GB Notification: Performance of NFVerifyModel.verify: time 0.0004117/0.04871, allocations: 0.5884 MB / 0.661 GB, free: 6.305 MB / 0.6199 GB Notification: Performance of NFConvertDAE.convert: time 0.001022/0.04973, allocations: 1.409 MB / 0.6624 GB, free: 4.891 MB / 0.6199 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.04974, allocations: 0 / 0.6624 GB, free: 4.891 MB / 0.6199 GB Notification: Performance of FrontEnd: time 9.51e-07/0.04974, allocations: 0 / 0.6624 GB, free: 4.891 MB / 0.6199 GB Notification: Performance of Transformations before backend: time 2.336e-05/0.04976, allocations: 0 / 0.6624 GB, free: 4.891 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.001576/0.05134, allocations: 1.845 MB / 0.6642 GB, free: 3.012 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 2.601e-05/0.05136, allocations: 15.98 kB / 0.6642 GB, free: 2.996 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002958/0.05432, allocations: 0.7846 MB / 0.665 GB, free: 2.211 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/0.05537, allocations: 1.025 MB / 0.666 GB, free: 1.133 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.805e-05/0.05542, allocations: 86.69 kB / 0.666 GB, free: 1.047 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/0.05555, allocations: 124.3 kB / 0.6662 GB, free: 0.9258 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001505/0.05706, allocations: 1.546 MB / 0.6677 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.806e-05/0.05708, allocations: 3.938 kB / 0.6677 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.842e-05/0.05717, allocations: 55.98 kB / 0.6677 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001445/0.05732, allocations: 106.2 kB / 0.6678 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006649/0.05798, allocations: 0.5223 MB / 0.6683 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004258/0.06224, allocations: 5.289 MB / 0.6735 GB, free: 9.035 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007901/0.06303, allocations: 415 kB / 0.6739 GB, free: 8.617 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002191/0.06325, allocations: 154.3 kB / 0.674 GB, free: 8.465 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.166e-05/0.06328, allocations: 12.5 kB / 0.6741 GB, free: 8.449 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.0633, allocations: 39.06 kB / 0.6741 GB, free: 8.402 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=53): time 1.653e-06/0.06331, allocations: 4 kB / 0.6741 GB, free: 8.398 MB / 0.6355 GB Notification: Performance of matching and sorting (n=54): time 0.003297/0.0666, allocations: 1.825 MB / 0.6759 GB, free: 6.555 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/0.06663, allocations: 63.84 kB / 0.6759 GB, free: 6.48 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005018/0.06713, allocations: 0.8433 MB / 0.6768 GB, free: 5.625 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.398e-05/0.06719, allocations: 37.7 kB / 0.6768 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002407/0.06743, allocations: 0.5994 MB / 0.6774 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/0.06754, allocations: 198.3 kB / 0.6776 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001813/0.06772, allocations: 150.4 kB / 0.6777 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.311e-05/0.06781, allocations: 333.9 kB / 0.678 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000211/0.06802, allocations: 153.9 kB / 0.6782 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003017/0.06832, allocations: 380.9 kB / 0.6785 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005289/0.06885, allocations: 0.5614 MB / 0.6791 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.06885, allocations: 4 kB / 0.6791 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001038/0.06989, allocations: 0.8092 MB / 0.6799 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.0699, allocations: 15.97 kB / 0.6799 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.06991, allocations: 4 kB / 0.6799 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007563/0.07067, allocations: 338.4 kB / 0.6802 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005194/0.07119, allocations: 191.6 kB / 0.6804 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2838/0.3549, allocations: 5.42 MB / 0.6857 GB, free: 40.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006967/0.3556, allocations: 45.39 kB / 0.6857 GB, free: 40.25 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.234e-05/0.3557, allocations: 34.55 kB / 0.6858 GB, free: 40.25 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.0003163/0.356, allocations: 155.3 kB / 0.6859 GB, free: 40.14 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/0.3562, allocations: 103.4 kB / 0.686 GB, free: 40.13 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001168/0.3573, allocations: 0.745 MB / 0.6868 GB, free: 40.02 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.3573, allocations: 5.469 kB / 0.6868 GB, free: 40.02 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.3573, allocations: 3.656 kB / 0.6868 GB, free: 40.02 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.3573, allocations: 5.547 kB / 0.6868 GB, free: 40.02 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001971/0.3593, allocations: 1.41 MB / 0.6881 GB, free: 39.69 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.3593, allocations: 3.938 kB / 0.6881 GB, free: 39.69 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004257/0.3597, allocations: 115.1 kB / 0.6883 GB, free: 39.69 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008148/0.3606, allocations: 333.9 kB / 0.6886 GB, free: 39.64 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.299e-05/0.3606, allocations: 25.97 kB / 0.6886 GB, free: 39.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002713/0.3633, allocations: 5.429 MB / 0.6939 GB, free: 35.01 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.3633, allocations: 3.25 kB / 0.6939 GB, free: 35.01 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/0.3644, allocations: 0.7903 MB / 0.6947 GB, free: 34.71 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002571/0.3647, allocations: 204.8 kB / 0.6949 GB, free: 34.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/0.3648, allocations: 14.94 kB / 0.6949 GB, free: 34.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000383/0.3651, allocations: 36.84 kB / 0.6949 GB, free: 34.71 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.3653, allocations: 55.72 kB / 0.695 GB, free: 34.71 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.441e-05/0.3653, allocations: 21.66 kB / 0.695 GB, free: 34.71 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003844/0.3657, allocations: 421.1 kB / 0.6954 GB, free: 34.67 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.3657, allocations: 0.5469 kB / 0.6954 GB, free: 34.67 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000812/0.3665, allocations: 346.9 kB / 0.6957 GB, free: 34.67 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.0001547/0.3667, allocations: 103 kB / 0.6958 GB, free: 34.6 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001182/0.3679, allocations: 1.078 MB / 0.6969 GB, free: 34.12 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-05/0.3679, allocations: 13.75 kB / 0.6969 GB, free: 34.12 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007338/0.3686, allocations: 0.8216 MB / 0.6977 GB, free: 33.64 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/0.3697, allocations: 482.4 kB / 0.6982 GB, free: 33.63 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002764/0.3725, allocations: 2.267 MB / 0.7004 GB, free: 32.56 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.3728, allocations: 334.5 kB / 0.7007 GB, free: 32.47 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0007215/0.3735, allocations: 277.2 kB / 0.701 GB, free: 32.42 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008049/0.3743, allocations: 392.9 kB / 0.7013 GB, free: 32.36 MB / 0.6355 GB Notification: Performance of SimCode: time 1.402e-06/0.3743, allocations: 1.5 kB / 0.7013 GB, free: 32.36 MB / 0.6355 GB Notification: Performance of Templates: time 0.02785/0.4022, allocations: 26.51 MB / 0.7272 GB, free: 18.7 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.174308218061924]