Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.04322/0.04322, allocations: 9.134 MB / 28.99 MB, free: 412 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.0009227/0.0009227, allocations: 102.6 kB / 35.33 MB, free: 0.918 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.001211/0.001211, allocations: 171 kB / 38.73 MB, free: 2.367 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.034/1.034, allocations: 177.2 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.004238/0.004238, allocations: 0.8303 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.658/1.658, 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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(AixLib.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.6378 GB, free: 14.16 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.929e-05/2.084e-05, allocations: 2.312 kB / 0.6378 GB, free: 14.15 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.003994/0.004015, allocations: 4.076 MB / 0.6418 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.002231/0.006246, allocations: 1.567 MB / 0.6434 GB, free: 8.477 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001937/0.00644, allocations: 39.62 kB / 0.6434 GB, free: 8.438 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0004903/0.00693, allocations: 198.5 kB / 0.6436 GB, free: 8.242 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.000482/0.007412, allocations: 405.4 kB / 0.644 GB, free: 7.844 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004266/0.007839, allocations: 359.3 kB / 0.6443 GB, free: 7.492 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0007368/0.008576, allocations: 1.135 MB / 0.6454 GB, free: 6.352 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005162/0.009092, allocations: 0.5509 MB / 0.646 GB, free: 5.797 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005037/0.009596, allocations: 0.6118 MB / 0.6466 GB, free: 5.184 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004214/0.01002, allocations: 434.8 kB / 0.647 GB, free: 4.758 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 5.959e-05/0.01008, allocations: 56 kB / 0.647 GB, free: 4.703 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001686/0.01025, allocations: 131.8 kB / 0.6472 GB, free: 4.574 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 0.0001855/0.01043, allocations: 307.2 kB / 0.6474 GB, free: 4.273 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 0.0001847/0.01062, allocations: 275.3 kB / 0.6477 GB, free: 4.004 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0005004/0.01112, allocations: 0.6617 MB / 0.6484 GB, free: 3.34 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.185e-06/0.01112, allocations: 0 / 0.6484 GB, free: 3.34 MB / 0.6043 GB Notification: Performance of FrontEnd: time 6.51e-07/0.01112, allocations: 0 / 0.6484 GB, free: 3.34 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.01113, allocations: 0 / 0.6484 GB, free: 3.34 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.0007984/0.01192, allocations: 0.9156 MB / 0.6492 GB, free: 2.395 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 2.956e-05/0.01195, allocations: 11.98 kB / 0.6493 GB, free: 2.383 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006694/0.01262, allocations: 264.2 kB / 0.6495 GB, free: 2.125 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000788/0.01341, allocations: 0.5029 MB / 0.65 GB, free: 1.594 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/0.01344, allocations: 41.69 kB / 0.65 GB, free: 1.555 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.503e-05/0.01351, allocations: 72.3 kB / 0.6501 GB, free: 1.484 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005869/0.0141, allocations: 0.7816 MB / 0.6509 GB, free: 0.5625 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/0.01412, allocations: 12.11 kB / 0.6509 GB, free: 0.5508 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.754e-05/0.01416, allocations: 32.31 kB / 0.6509 GB, free: 0.5195 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-05/0.01423, allocations: 69.2 kB / 0.651 GB, free: 464 kB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002508/0.01448, allocations: 256.6 kB / 0.6512 GB, free: 208 kB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002128/0.01661, allocations: 3.865 MB / 0.655 GB, free: 12.19 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002976/0.0169, allocations: 245.2 kB / 0.6552 GB, free: 11.94 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000283/0.01719, allocations: 221.4 kB / 0.6554 GB, free: 11.72 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.01721, allocations: 11.78 kB / 0.6555 GB, free: 11.71 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.01723, allocations: 34.56 kB / 0.6555 GB, free: 11.66 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=41): time 1.482e-06/0.01723, allocations: 0 / 0.6555 GB, free: 11.66 MB / 0.6199 GB Notification: Performance of matching and sorting (n=42): time 0.001508/0.01874, allocations: 0.8738 MB / 0.6563 GB, free: 10.77 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/0.01877, allocations: 59.41 kB / 0.6564 GB, free: 10.7 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004692/0.01924, allocations: 407 kB / 0.6568 GB, free: 10.29 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/0.01926, allocations: 33.7 kB / 0.6568 GB, free: 10.25 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.01939, allocations: 360.9 kB / 0.6572 GB, free: 9.895 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 7.48e-05/0.01947, allocations: 162.6 kB / 0.6573 GB, free: 9.734 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.624e-05/0.01956, allocations: 110.2 kB / 0.6574 GB, free: 9.621 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.01966, allocations: 366.6 kB / 0.6578 GB, free: 9.254 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.1e-05/0.01974, allocations: 65.28 kB / 0.6578 GB, free: 9.191 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001738/0.01992, allocations: 277.1 kB / 0.6581 GB, free: 8.824 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003009/0.02022, allocations: 412.8 kB / 0.6585 GB, free: 8.324 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.02022, allocations: 8 kB / 0.6585 GB, free: 8.316 MB / 0.6199 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0006385/0.02086, allocations: 0.5583 MB / 0.659 GB, free: 7.734 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.02088, allocations: 8 kB / 0.6591 GB, free: 7.727 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.02089, allocations: 8 kB / 0.6591 GB, free: 7.719 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005081/0.02139, allocations: 250.5 kB / 0.6593 GB, free: 7.457 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.02155, allocations: 87.84 kB / 0.6594 GB, free: 7.371 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003296/0.02484, allocations: 5.406 MB / 0.6647 GB, free: 1.57 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001657/0.02501, allocations: 16 kB / 0.6647 GB, free: 1.555 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.409e-05/0.02503, allocations: 23.94 kB / 0.6647 GB, free: 1.531 MB / 0.6199 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001465/0.02518, allocations: 148.5 kB / 0.6648 GB, free: 1.375 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.306e-05/0.02524, allocations: 47.95 kB / 0.6649 GB, free: 1.328 MB / 0.6199 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006242/0.02587, allocations: 477 kB / 0.6653 GB, free: 0.8398 MB / 0.6199 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.02587, allocations: 4 kB / 0.6654 GB, free: 0.8359 MB / 0.6199 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.02587, allocations: 8 kB / 0.6654 GB, free: 0.8281 MB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.02588, allocations: 0 / 0.6654 GB, free: 0.8281 MB / 0.6199 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.0269, allocations: 0.88 MB / 0.6662 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.02691, allocations: 4 kB / 0.6662 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.786e-05/0.02698, allocations: 27.94 kB / 0.6662 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005159/0.0275, allocations: 247 kB / 0.6665 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.351e-05/0.02752, allocations: 12 kB / 0.6665 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003097/0.03062, allocations: 5.39 MB / 0.6718 GB, free: 9.805 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.03062, allocations: 0 / 0.6718 GB, free: 9.805 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006162/0.03124, allocations: 0.5985 MB / 0.6723 GB, free: 9.152 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.667e-05/0.03133, allocations: 75.62 kB / 0.6724 GB, free: 9.078 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.312e-05/0.03137, allocations: 12 kB / 0.6724 GB, free: 9.066 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.03147, allocations: 4 kB / 0.6724 GB, free: 9.062 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.702e-05/0.03156, allocations: 51.98 kB / 0.6725 GB, free: 9.012 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.03158, allocations: 8 kB / 0.6725 GB, free: 9.004 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001105/0.03169, allocations: 164.4 kB / 0.6726 GB, free: 8.844 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3e-08/0.03169, allocations: 4 kB / 0.6726 GB, free: 8.84 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004659/0.03215, allocations: 196 kB / 0.6728 GB, free: 8.648 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,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.0001382/0.03229, allocations: 92.36 kB / 0.6729 GB, free: 8.547 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0008311/0.03312, allocations: 0.8706 MB / 0.6738 GB, free: 7.625 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-05/0.03313, allocations: 4.5 kB / 0.6738 GB, free: 7.621 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005744/0.03371, allocations: 0.695 MB / 0.6745 GB, free: 6.871 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000528/0.03424, allocations: 201.3 kB / 0.6746 GB, free: 6.676 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.03568, allocations: 1.17 MB / 0.6758 GB, free: 5.449 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001665/0.03585, allocations: 206.2 kB / 0.676 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001653/0.03601, allocations: 65.03 kB / 0.676 GB, free: 5.156 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002146/0.03623, allocations: 161.3 kB / 0.6762 GB, free: 5 MB / 0.6355 GB Notification: Performance of SimCode: time 1.042e-06/0.03623, allocations: 4 kB / 0.6762 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of Templates: time 0.2845/0.3207, allocations: 11.04 MB / 0.687 GB, free: 51.21 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile [Timeout 660] (rm -f AixLib_AixLib.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo AixLib_AixLib.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < AixLib_AixLib.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/AixLib_AixLib.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./AixLib_AixLib.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.0203215861693025]