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.06511/0.06511, allocations: 9.132 MB / 28.99 MB, free: 328 kB / 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.0009463/0.0009463, allocations: 95.27 kB / 35.33 MB, free: 0.9219 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.001202/0.001202, allocations: 160.5 kB / 38.73 MB, free: 2.402 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.9875/0.9875, allocations: 177.2 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.005066/0.005066, allocations: 0.8331 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.679/1.679, allocations: 274.9 MB / 0.5419 GB, free: 0.6328 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.573e-06/1.573e-06, allocations: 0 / 0.6379 GB, free: 14.1 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.303e-05/2.461e-05, allocations: 10.25 kB / 0.6379 GB, free: 14.09 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.00651/0.006535, allocations: 4.773 MB / 0.6426 GB, free: 9.289 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.003613/0.01015, allocations: 1.734 MB / 0.6442 GB, free: 7.547 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004674/0.01061, allocations: 39.69 kB / 0.6443 GB, free: 7.508 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0006922/0.01131, allocations: 214.4 kB / 0.6445 GB, free: 7.297 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0009222/0.01223, allocations: 445 kB / 0.6449 GB, free: 6.859 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008554/0.01308, allocations: 391.1 kB / 0.6453 GB, free: 6.477 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.001363/0.01445, allocations: 1.263 MB / 0.6465 GB, free: 5.207 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008249/0.01527, allocations: 0.5743 MB / 0.6471 GB, free: 4.629 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009035/0.01618, allocations: 0.6625 MB / 0.6477 GB, free: 3.965 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007381/0.01691, allocations: 482.6 kB / 0.6482 GB, free: 3.492 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 0.0001069/0.01702, allocations: 68 kB / 0.6483 GB, free: 3.426 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003357/0.01736, allocations: 147.8 kB / 0.6484 GB, free: 3.281 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 0.0002862/0.01764, allocations: 319.1 kB / 0.6487 GB, free: 2.969 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 0.000331/0.01797, allocations: 315.2 kB / 0.649 GB, free: 2.656 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0009211/0.01889, allocations: 0.7357 MB / 0.6497 GB, free: 1.918 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.0189, allocations: 0 / 0.6497 GB, free: 1.918 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.512e-06/0.0189, allocations: 0 / 0.6497 GB, free: 1.918 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 1.127e-05/0.01891, allocations: 0 / 0.6497 GB, free: 1.918 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.001452/0.02036, allocations: 1.032 MB / 0.6507 GB, free: 0.8594 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.0204, allocations: 11.98 kB / 0.6507 GB, free: 0.8477 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001244/0.02165, allocations: 272.3 kB / 0.651 GB, free: 0.582 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007862/0.02243, allocations: 0.4912 MB / 0.6515 GB, free: 64 kB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.802e-05/0.02249, allocations: 49.69 kB / 0.6515 GB, free: 16 kB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.02261, allocations: 64.45 kB / 0.6516 GB, free: 15.95 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.02363, allocations: 0.96 MB / 0.6525 GB, free: 14.82 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.67e-05/0.02366, allocations: 8.125 kB / 0.6525 GB, free: 14.81 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.394e-05/0.02372, allocations: 32.36 kB / 0.6526 GB, free: 14.78 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001408/0.02387, allocations: 89.19 kB / 0.6526 GB, free: 14.69 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005455/0.02441, allocations: 256.6 kB / 0.6529 GB, free: 14.44 MB / 0.6199 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003659/0.02807, allocations: 3.914 MB / 0.6567 GB, free: 10.39 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003537/0.03161, allocations: 289 kB / 0.657 GB, free: 10.09 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001436/0.03175, allocations: 94.34 kB / 0.6571 GB, free: 9.992 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/0.03178, allocations: 4.5 kB / 0.6571 GB, free: 9.988 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.0318, allocations: 39.06 kB / 0.6571 GB, free: 9.938 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=47): time 2.856e-06/0.03181, allocations: 0 / 0.6571 GB, free: 9.938 MB / 0.6199 GB Notification: Performance of matching and sorting (n=48): time 0.001814/0.03362, allocations: 0.8043 MB / 0.6579 GB, free: 9.113 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002637/0.03389, allocations: 63.84 kB / 0.658 GB, free: 9.039 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003386/0.03727, allocations: 470.9 kB / 0.6584 GB, free: 8.566 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 4.228e-05/0.03731, allocations: 33.7 kB / 0.6584 GB, free: 8.527 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001938/0.03751, allocations: 380.8 kB / 0.6588 GB, free: 8.152 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 0.000119/0.03763, allocations: 186.3 kB / 0.659 GB, free: 7.969 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001733/0.0378, allocations: 122.5 kB / 0.6591 GB, free: 7.84 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.03792, allocations: 374.6 kB / 0.6595 GB, free: 7.465 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.03807, allocations: 73.97 kB / 0.6595 GB, free: 7.395 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002514/0.03832, allocations: 297 kB / 0.6598 GB, free: 7.012 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004363/0.03876, allocations: 442.9 kB / 0.6602 GB, free: 6.484 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.03876, allocations: 4 kB / 0.6602 GB, free: 6.48 MB / 0.6199 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0008561/0.03961, allocations: 0.5556 MB / 0.6608 GB, free: 5.898 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.03964, allocations: 15.89 kB / 0.6608 GB, free: 5.883 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.03965, allocations: 12.03 kB / 0.6608 GB, free: 5.871 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003843/0.04349, allocations: 298.4 kB / 0.6611 GB, free: 5.562 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003458/0.04384, allocations: 115.8 kB / 0.6612 GB, free: 5.449 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01014/0.05398, allocations: 5.31 MB / 0.6664 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004455/0.05443, allocations: 16 kB / 0.6664 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.616e-05/0.05448, allocations: 28 kB / 0.6664 GB, free: 15.71 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.0002259/0.0547, allocations: 160.5 kB / 0.6666 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.0548, allocations: 55.94 kB / 0.6666 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006782/0.06158, allocations: 451.3 kB / 0.6671 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.06159, allocations: 4.188 kB / 0.6671 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.0616, allocations: 8 kB / 0.6671 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.0616, allocations: 3.984 kB / 0.6671 GB, free: 15 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00169/0.06329, allocations: 0.8768 MB / 0.6679 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.0633, allocations: 0 / 0.6679 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002181/0.06351, allocations: 47.97 kB / 0.668 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006922/0.07044, allocations: 286.6 kB / 0.6683 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.504e-05/0.07047, allocations: 8 kB / 0.6683 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01096/0.08144, allocations: 5.297 MB / 0.6734 GB, free: 8.027 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.08144, allocations: 7.938 kB / 0.6735 GB, free: 8.02 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008963/0.08234, allocations: 0.5776 MB / 0.674 GB, free: 7.387 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001867/0.08253, allocations: 87.53 kB / 0.6741 GB, free: 7.301 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.222e-05/0.08259, allocations: 8.188 kB / 0.6741 GB, free: 7.293 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002525/0.08284, allocations: 20.03 kB / 0.6741 GB, free: 7.273 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003141/0.08598, allocations: 51.81 kB / 0.6742 GB, free: 7.223 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.471e-05/0.08602, allocations: 12 kB / 0.6742 GB, free: 7.211 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001925/0.08621, allocations: 204.3 kB / 0.6744 GB, free: 7.012 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9e-08/0.08621, allocations: 0 / 0.6744 GB, free: 7.012 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006826/0.08689, allocations: 224 kB / 0.6746 GB, free: 6.793 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.0001316/0.08702, allocations: 100.5 kB / 0.6747 GB, free: 6.684 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001158/0.08818, allocations: 0.8861 MB / 0.6756 GB, free: 5.746 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.539e-05/0.0882, allocations: 8.5 kB / 0.6756 GB, free: 5.738 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006554/0.08885, allocations: 0.715 MB / 0.6763 GB, free: 4.969 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003814/0.09266, allocations: 201.6 kB / 0.6765 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00224/0.0949, allocations: 1.265 MB / 0.6777 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002158/0.09512, allocations: 211.4 kB / 0.6779 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002862/0.09541, allocations: 73.48 kB / 0.678 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004534/0.09586, allocations: 209.2 kB / 0.6782 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of SimCode: time 1.232e-06/0.09586, allocations: 4 kB / 0.6782 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of Templates: time 0.2704/0.3662, allocations: 12.05 MB / 0.6899 GB, free: 50.04 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.048453850205988]