Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PLL_PLL.Examples.VariableFrequency.conf.json 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.0009534/0.0009534, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 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.001012/0.001012, allocations: 169 kB / 23.27 MB, free: 1.223 MB / 18.57 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.011/1.011, allocations: 177.1 MB / 203.7 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PLL 1.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PLL 1.0.1/package.mo): time 0.007012/0.007012, allocations: 1.695 MB / 262 MB, free: 11.21 MB / 250.7 MB " [Timeout remaining time 180] Using package PLL with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PLL 1.0.1/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) Running command: translateModel(PLL.Examples.VariableFrequency,tolerance=1e-06,outputFormat="empty",numberOfIntervals=150000,variableFilter="",fileNamePrefix="PLL_PLL.Examples.VariableFrequency") translateModel(PLL.Examples.VariableFrequency,tolerance=1e-06,outputFormat="empty",numberOfIntervals=150000,variableFilter="",fileNamePrefix="PLL_PLL.Examples.VariableFrequency") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 332.2 MB, free: 17.29 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.51e-05/2.708e-05, allocations: 6.25 kB / 332.2 MB, free: 17.28 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PLL.Examples.VariableFrequency): time 0.003269/0.003297, allocations: 2.315 MB / 334.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001419/0.004716, allocations: 0.8137 MB / 335.4 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001796/0.004895, allocations: 11.88 kB / 335.4 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001916/0.005087, allocations: 63.44 kB / 335.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005973/0.005684, allocations: 143.1 kB / 335.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002114/0.005896, allocations: 107.8 kB / 335.7 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003316/0.006227, allocations: 346.9 kB / 336 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002541/0.006481, allocations: 109.8 kB / 336.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005118/0.006993, allocations: 299.4 kB / 336.4 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002197/0.007213, allocations: 179.5 kB / 336.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.014e-05/0.007263, allocations: 28 kB / 336.6 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.681e-05/0.00731, allocations: 36 kB / 336.7 MB, free: 12.83 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.007431, allocations: 119.6 kB / 336.8 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.725e-05/0.007528, allocations: 99.69 kB / 336.9 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003441/0.007873, allocations: 298.8 kB / 337.2 MB, free: 12.32 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.007875, allocations: 0 / 337.2 MB, free: 12.32 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.007876, allocations: 0 / 337.2 MB, free: 12.32 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.007882, allocations: 3.984 kB / 337.2 MB, free: 12.32 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.000803/0.008685, allocations: 0.7058 MB / 337.9 MB, free: 11.58 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.008724, allocations: 8.031 kB / 337.9 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.259e-05/0.008817, allocations: 64.66 kB / 337.9 MB, free: 11.51 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003626/0.00918, allocations: 318.9 kB / 338.3 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.722e-05/0.009207, allocations: 16.88 kB / 338.3 MB, free: 11.15 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.553e-05/0.009252, allocations: 32.36 kB / 338.3 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000403/0.009655, allocations: 261.8 kB / 338.6 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.009668, allocations: 192 / 338.6 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.405e-05/0.009692, allocations: 12.38 kB / 338.6 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.48e-05/0.009737, allocations: 24.59 kB / 338.6 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002224/0.009959, allocations: 123 kB / 338.7 MB, free: 10.68 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001105/0.01106, allocations: 1.171 MB / 339.9 MB, free: 9.457 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000371/0.01143, allocations: 152 kB / 340 MB, free: 9.297 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.524e-05/0.01152, allocations: 52.12 kB / 340.1 MB, free: 9.242 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.986e-05/0.01155, allocations: 12.23 kB / 340.1 MB, free: 9.23 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.01157, allocations: 41.62 kB / 340.1 MB, free: 9.18 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 2.064e-06/0.01157, allocations: 0 / 340.1 MB, free: 9.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=27): time 0.0004067/0.01198, allocations: 217.5 kB / 340.4 MB, free: 8.965 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.432e-05/0.012, allocations: 59.34 kB / 340.4 MB, free: 8.895 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002288/0.01223, allocations: 342.1 kB / 340.7 MB, free: 8.543 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.01225, allocations: 33.7 kB / 340.8 MB, free: 8.504 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.01236, allocations: 259.2 kB / 341 MB, free: 8.242 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.177e-05/0.01242, allocations: 99.16 kB / 341.1 MB, free: 8.145 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.12e-05/0.01251, allocations: 67.33 kB / 341.2 MB, free: 8.07 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.624e-05/0.01261, allocations: 0.5235 MB / 341.7 MB, free: 7.535 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.474e-05/0.01268, allocations: 34.05 kB / 341.7 MB, free: 7.504 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.01279, allocations: 95.84 kB / 341.8 MB, free: 7.391 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000198/0.01298, allocations: 150.3 kB / 342 MB, free: 7.223 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.01299, allocations: 0 / 342 MB, free: 7.223 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003148/0.0133, allocations: 225.2 kB / 342.2 MB, free: 6.996 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.01332, allocations: 8 kB / 342.2 MB, free: 6.988 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.01333, allocations: 0 / 342.2 MB, free: 6.988 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.01334, allocations: 7.938 kB / 342.2 MB, free: 6.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002546/0.0136, allocations: 63.91 kB / 342.3 MB, free: 6.918 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.0136, allocations: 4 kB / 342.3 MB, free: 6.914 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.01372, allocations: 23.83 kB / 342.3 MB, free: 6.891 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.81e-05/0.01374, allocations: 12 kB / 342.3 MB, free: 6.879 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (srfPLL.integrator.local_reset,simpledqPLL.integralController.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.88e-05/0.01384, allocations: 176.6 kB / 342.5 MB, free: 6.695 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.181e-05/0.0139, allocations: 39.81 kB / 342.5 MB, free: 6.656 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003456/0.01425, allocations: 221.6 kB / 342.8 MB, free: 6.43 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.01425, allocations: 7.938 kB / 342.8 MB, free: 6.422 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.01425, allocations: 0 / 342.8 MB, free: 6.422 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.01426, allocations: 0 / 342.8 MB, free: 6.422 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007169/0.01498, allocations: 0.5723 MB / 343.3 MB, free: 5.816 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.227e-06/0.01498, allocations: 0 / 343.3 MB, free: 5.816 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002468/0.01523, allocations: 59.91 kB / 343.4 MB, free: 5.758 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.01523, allocations: 7.938 kB / 343.4 MB, free: 5.75 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.353e-05/0.01525, allocations: 8 kB / 343.4 MB, free: 5.742 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.01526, allocations: 0 / 343.4 MB, free: 5.742 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.01526, allocations: 3.984 kB / 343.4 MB, free: 5.738 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004183/0.01568, allocations: 421.7 kB / 343.8 MB, free: 5.309 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.685e-05/0.01571, allocations: 31.7 kB / 343.9 MB, free: 5.277 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.711e-05/0.01575, allocations: 15.92 kB / 343.9 MB, free: 5.262 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.01589, allocations: 12 kB / 343.9 MB, free: 5.25 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.687e-05/0.01594, allocations: 19.95 kB / 343.9 MB, free: 5.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.01596, allocations: 16 kB / 343.9 MB, free: 5.215 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001195/0.01608, allocations: 222.9 kB / 344.1 MB, free: 5 MB / 266.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01608, allocations: 0 / 344.1 MB, free: 5 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003464/0.01643, allocations: 71.84 kB / 344.2 MB, free: 4.93 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (vfController.x,srfPLL.controller.x,srfPLL.integrator.y,simpledqPLL.integralController.y) * 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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001157/0.01654, allocations: 99.19 kB / 344.3 MB, free: 4.824 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002829/0.01683, allocations: 151.3 kB / 344.4 MB, free: 4.672 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01683, allocations: 0 / 344.4 MB, free: 4.672 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000128/0.01696, allocations: 91.56 kB / 344.5 MB, free: 4.578 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004338/0.01739, allocations: 49.38 kB / 344.6 MB, free: 4.531 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.01859, allocations: 0.667 MB / 345.3 MB, free: 3.836 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.788e-05/0.01867, allocations: 121 kB / 345.4 MB, free: 3.695 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001357/0.01881, allocations: 38.94 kB / 345.4 MB, free: 3.656 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001712/0.01898, allocations: 118.2 kB / 345.5 MB, free: 3.539 MB / 266.7 MB Notification: Performance of SimCode: time 8.51e-07/0.01898, allocations: 0 / 345.5 MB, free: 3.539 MB / 266.7 MB Notification: Performance of Templates: time 0.007699/0.02668, allocations: 3.115 MB / 348.6 MB, free: 480 kB / 266.7 MB " [Timeout remaining time 660] make -j1 -f PLL_PLL.Examples.VariableFrequency.makefile [Timeout 660] (rm -f PLL_PLL.Examples.VariableFrequency.pipe ; mkfifo PLL_PLL.Examples.VariableFrequency.pipe ; head -c 1048576 < PLL_PLL.Examples.VariableFrequency.pipe >> ../files/PLL_PLL.Examples.VariableFrequency.sim & ./PLL_PLL.Examples.VariableFrequency -abortSlowSimulation -alarm=240 -lv LOG_STATS > PLL_PLL.Examples.VariableFrequency.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.114845111966133]