Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.0455/0.0455, allocations: 9.131 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.0009628/0.0009628, allocations: 87.28 kB / 35.33 MB, free: 1.07 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.001219/0.001219, allocations: 168.1 kB / 38.73 MB, free: 2.5 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.9525/0.9525, allocations: 177.1 MB / 219.2 MB, free: 10.11 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.003991/0.003991, allocations: 0.831 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.604/1.604, allocations: 274.9 MB / 0.5419 GB, free: 0.6289 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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(AixLib.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.6378 GB, free: 14.14 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.736e-05/1.909e-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_R): time 0.004011/0.00403, allocations: 4.73 MB / 0.6425 GB, free: 9.375 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.002452/0.006482, allocations: 1.726 MB / 0.6441 GB, free: 7.641 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002351/0.006717, allocations: 39.62 kB / 0.6442 GB, free: 7.602 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0005013/0.007219, allocations: 222.4 kB / 0.6444 GB, free: 7.383 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0005127/0.007731, allocations: 449.1 kB / 0.6448 GB, free: 6.941 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004853/0.008217, allocations: 383.2 kB / 0.6452 GB, free: 6.566 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0008064/0.009023, allocations: 1.267 MB / 0.6464 GB, free: 5.293 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005261/0.009549, allocations: 0.5781 MB / 0.647 GB, free: 4.711 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005376/0.01009, allocations: 0.6586 MB / 0.6476 GB, free: 4.051 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004534/0.01054, allocations: 482.7 kB / 0.6481 GB, free: 3.578 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 6.579e-05/0.01061, allocations: 71.94 kB / 0.6482 GB, free: 3.508 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001936/0.0108, allocations: 139.8 kB / 0.6483 GB, free: 3.371 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 0.0001957/0.011, allocations: 323.1 kB / 0.6486 GB, free: 3.055 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 0.0002112/0.01121, allocations: 307.3 kB / 0.6489 GB, free: 2.75 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0005714/0.01178, allocations: 0.7435 MB / 0.6496 GB, free: 2.004 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.01178, allocations: 0 / 0.6496 GB, free: 2.004 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.172e-06/0.01178, allocations: 0 / 0.6496 GB, free: 2.004 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 8.346e-06/0.01179, allocations: 4 kB / 0.6496 GB, free: 2 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001256/0.01305, allocations: 1.036 MB / 0.6506 GB, free: 0.9375 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.01308, allocations: 11.98 kB / 0.6507 GB, free: 0.9258 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007054/0.01378, allocations: 264.3 kB / 0.6509 GB, free: 0.668 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005239/0.01431, allocations: 0.4951 MB / 0.6514 GB, free: 148 kB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.697e-05/0.01433, allocations: 49.67 kB / 0.6514 GB, free: 100 kB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.138e-05/0.01441, allocations: 68.36 kB / 0.6515 GB, free: 32 kB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006519/0.01506, allocations: 0.9562 MB / 0.6524 GB, free: 14.9 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.01508, allocations: 192 / 0.6524 GB, free: 14.9 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.388e-05/0.01512, allocations: 40.36 kB / 0.6525 GB, free: 14.86 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001015/0.01522, allocations: 89.19 kB / 0.6526 GB, free: 14.77 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002846/0.01551, allocations: 260.5 kB / 0.6528 GB, free: 14.52 MB / 0.6199 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002379/0.01788, allocations: 3.914 MB / 0.6566 GB, free: 10.46 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003738/0.01826, allocations: 277 kB / 0.6569 GB, free: 10.18 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.01837, allocations: 102.3 kB / 0.657 GB, free: 10.07 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.0184, allocations: 12.44 kB / 0.657 GB, free: 10.06 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.01842, allocations: 35.06 kB / 0.657 GB, free: 10.02 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=47): time 1.693e-06/0.01842, allocations: 4 kB / 0.657 GB, free: 10.01 MB / 0.6199 GB Notification: Performance of matching and sorting (n=48): time 0.001742/0.02017, allocations: 0.7965 MB / 0.6578 GB, free: 9.195 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.557e-05/0.02019, allocations: 55.91 kB / 0.6579 GB, free: 9.129 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002594/0.02045, allocations: 482.9 kB / 0.6583 GB, free: 8.645 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.02048, allocations: 29.7 kB / 0.6584 GB, free: 8.609 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.02062, allocations: 376.8 kB / 0.6587 GB, free: 8.238 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 8.355e-05/0.02071, allocations: 182.5 kB / 0.6589 GB, free: 8.059 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.02082, allocations: 126.5 kB / 0.659 GB, free: 7.926 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 9.62e-05/0.02092, allocations: 366.7 kB / 0.6594 GB, free: 7.559 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.212e-05/0.02101, allocations: 73.97 kB / 0.6594 GB, free: 7.488 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001913/0.0212, allocations: 297 kB / 0.6597 GB, free: 7.105 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003423/0.02154, allocations: 450.8 kB / 0.6601 GB, free: 6.57 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.02155, allocations: 0 / 0.6601 GB, free: 6.57 MB / 0.6199 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0006418/0.02219, allocations: 0.5634 MB / 0.6607 GB, free: 5.98 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.0222, allocations: 8 kB / 0.6607 GB, free: 5.973 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.02221, allocations: 12.03 kB / 0.6607 GB, free: 5.961 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006332/0.02285, allocations: 298.4 kB / 0.661 GB, free: 5.652 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002203/0.02307, allocations: 115.8 kB / 0.6611 GB, free: 5.539 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002966/0.02603, allocations: 5.286 MB / 0.6663 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002036/0.02624, allocations: 23.98 kB / 0.6663 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.438e-05/0.02626, allocations: 24 kB / 0.6663 GB, free: 15.81 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 (67): * Single equations (assignments): 63 * 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,6,100.0%), (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.0001469/0.02641, allocations: 168.5 kB / 0.6665 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.542e-05/0.02647, allocations: 55.94 kB / 0.6665 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005066/0.02698, allocations: 451.3 kB / 0.667 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.02698, allocations: 7.984 kB / 0.667 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.02699, allocations: 4 kB / 0.667 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.02699, allocations: 0 / 0.667 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009169/0.02791, allocations: 0.8729 MB / 0.6678 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.02791, allocations: 0 / 0.6678 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.02802, allocations: 52.05 kB / 0.6679 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005543/0.02858, allocations: 290.5 kB / 0.6682 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.02859, allocations: 8 kB / 0.6682 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002701/0.03129, allocations: 5.29 MB / 0.6733 GB, free: 8.133 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.0313, allocations: 4 kB / 0.6733 GB, free: 8.129 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005179/0.03181, allocations: 0.5854 MB / 0.6739 GB, free: 7.488 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.03192, allocations: 83.55 kB / 0.674 GB, free: 7.406 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.33e-05/0.03197, allocations: 12 kB / 0.674 GB, free: 7.395 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.03211, allocations: 8 kB / 0.674 GB, free: 7.387 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.869e-05/0.03216, allocations: 47.88 kB / 0.674 GB, free: 7.34 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.03218, allocations: 16.03 kB / 0.6741 GB, free: 7.324 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001246/0.03231, allocations: 204.3 kB / 0.6743 GB, free: 7.125 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2e-08/0.03231, allocations: 0 / 0.6743 GB, free: 7.125 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004517/0.03276, allocations: 224 kB / 0.6745 GB, free: 6.906 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 (31): * 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: 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%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001142/0.03287, allocations: 100.3 kB / 0.6746 GB, free: 6.797 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007513/0.03362, allocations: 0.8884 MB / 0.6754 GB, free: 5.855 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.217e-05/0.03364, allocations: 8.5 kB / 0.6754 GB, free: 5.848 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004693/0.0341, allocations: 0.7127 MB / 0.6761 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004818/0.03459, allocations: 206 kB / 0.6763 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001642/0.03623, allocations: 1.269 MB / 0.6776 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001316/0.03636, allocations: 207.3 kB / 0.6778 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001714/0.03653, allocations: 69.5 kB / 0.6778 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002695/0.0368, allocations: 213.2 kB / 0.678 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of SimCode: time 7.52e-07/0.0368, allocations: 0 / 0.678 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of Templates: time 0.268/0.3048, allocations: 12.05 MB / 0.6898 GB, free: 50.23 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f AixLib_AixLib.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo AixLib_AixLib.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < AixLib_AixLib.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/AixLib_AixLib.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./AixLib_AixLib.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.008261472918093]