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.001014/0.001014, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009274/0.0009274, allocations: 169 kB / 23.02 MB, free: 1.551 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 0.9339/0.9339, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.007374/0.007374, allocations: 1.674 MB / 261.6 MB, free: 11.38 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.322e-06/1.322e-06, allocations: 0 / 331.8 MB, free: 17.57 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.079e-05/2.211e-05, allocations: 2.312 kB / 331.8 MB, free: 17.57 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PLL.Examples.VariableFrequency): time 0.002322/0.002344, allocations: 2.332 MB / 334.1 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009793/0.003323, allocations: 0.8254 MB / 334.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000132/0.003455, allocations: 11.88 kB / 335 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000161/0.003616, allocations: 59.44 kB / 335 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005043/0.004121, allocations: 143.1 kB / 335.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001411/0.004262, allocations: 111.7 kB / 335.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002455/0.004507, allocations: 342.9 kB / 335.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002085/0.004716, allocations: 113.8 kB / 335.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004085/0.005124, allocations: 299.4 kB / 336 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.00528, allocations: 175.5 kB / 336.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.345e-05/0.005314, allocations: 32 kB / 336.2 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.946e-05/0.005343, allocations: 28 kB / 336.2 MB, free: 13.1 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.613e-05/0.005429, allocations: 127.6 kB / 336.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.673e-05/0.005506, allocations: 103.7 kB / 336.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002562/0.005762, allocations: 302.8 kB / 336.7 MB, free: 12.58 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.005766, allocations: 8 kB / 336.8 MB, free: 12.57 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.005767, allocations: 0 / 336.8 MB, free: 12.57 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.005772, allocations: 0 / 336.8 MB, free: 12.57 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.000678/0.00645, allocations: 0.6942 MB / 337.5 MB, free: 11.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.006487, allocations: 12.03 kB / 337.5 MB, free: 11.83 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.745e-05/0.006565, allocations: 64.66 kB / 337.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003057/0.006871, allocations: 322.9 kB / 337.8 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.705e-05/0.006898, allocations: 20.86 kB / 337.9 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.628e-05/0.006934, allocations: 24.38 kB / 337.9 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003279/0.007262, allocations: 289.7 kB / 338.2 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.007271, allocations: 192 / 338.2 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.963e-05/0.00729, allocations: 12.38 kB / 338.2 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.686e-05/0.007327, allocations: 28.58 kB / 338.2 MB, free: 11.03 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002145/0.007542, allocations: 139 kB / 338.3 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008831/0.008425, allocations: 1.237 MB / 339.6 MB, free: 9.594 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003626/0.008787, allocations: 168 kB / 339.7 MB, free: 9.418 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.4e-05/0.008871, allocations: 60.12 kB / 339.8 MB, free: 9.355 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.654e-05/0.008898, allocations: 4.234 kB / 339.8 MB, free: 9.352 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.00892, allocations: 41.62 kB / 339.8 MB, free: 9.301 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 1.793e-06/0.008922, allocations: 0 / 339.8 MB, free: 9.301 MB / 266.7 MB Notification: Performance of matching and sorting (n=27): time 0.0003957/0.009317, allocations: 249.5 kB / 340.1 MB, free: 9.055 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/0.009343, allocations: 59.34 kB / 340.2 MB, free: 8.984 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001776/0.009521, allocations: 342.3 kB / 340.5 MB, free: 8.633 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.009538, allocations: 33.7 kB / 340.5 MB, free: 8.594 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.539e-05/0.009623, allocations: 259.2 kB / 340.8 MB, free: 8.332 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.185e-05/0.009665, allocations: 95.17 kB / 340.9 MB, free: 8.238 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.399e-05/0.009729, allocations: 63.36 kB / 340.9 MB, free: 8.168 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.964e-05/0.009789, allocations: 0.5196 MB / 341.4 MB, free: 7.637 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.935e-05/0.009868, allocations: 42.05 kB / 341.5 MB, free: 7.598 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.319e-05/0.009961, allocations: 107.9 kB / 341.6 MB, free: 7.473 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001783/0.01014, allocations: 174.3 kB / 341.8 MB, free: 7.281 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.01014, allocations: 0 / 341.8 MB, free: 7.281 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002633/0.01041, allocations: 245.2 kB / 342 MB, free: 7.035 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.01042, allocations: 14.91 kB / 342 MB, free: 7.023 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.01043, allocations: 0 / 342 MB, free: 7.023 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.01045, allocations: 4 kB / 342 MB, free: 7.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001772/0.01062, allocations: 63.89 kB / 342.1 MB, free: 6.957 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.01063, allocations: 8.125 kB / 342.1 MB, free: 6.949 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.767e-05/0.01071, allocations: 23.84 kB / 342.1 MB, free: 6.926 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.01072, allocations: 8 kB / 342.1 MB, free: 6.918 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 (simpledqPLL.integralController.local_reset,srfPLL.integrator.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 7.978e-05/0.0108, allocations: 176.5 kB / 342.3 MB, free: 6.734 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.119e-05/0.01084, allocations: 43.75 kB / 342.3 MB, free: 6.691 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002974/0.01114, allocations: 241.7 kB / 342.6 MB, free: 6.445 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.01114, allocations: 4 kB / 342.6 MB, free: 6.441 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.01115, allocations: 4 kB / 342.6 MB, free: 6.438 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.01115, allocations: 0 / 342.6 MB, free: 6.438 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005929/0.01174, allocations: 0.6615 MB / 343.2 MB, free: 5.734 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.01175, allocations: 0 / 343.2 MB, free: 5.734 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001665/0.01191, allocations: 55.91 kB / 343.3 MB, free: 5.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.01192, allocations: 4 kB / 343.3 MB, free: 5.676 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.072e-05/0.01194, allocations: 8 kB / 343.3 MB, free: 5.668 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.01194, allocations: 0 / 343.3 MB, free: 5.668 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.01194, allocations: 7.984 kB / 343.3 MB, free: 5.66 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003747/0.01232, allocations: 449.7 kB / 343.8 MB, free: 5.203 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.579e-05/0.01234, allocations: 39.7 kB / 343.8 MB, free: 5.164 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.845e-05/0.01237, allocations: 11.98 kB / 343.8 MB, free: 5.152 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.266e-05/0.01245, allocations: 8 kB / 343.8 MB, free: 5.145 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.346e-05/0.01251, allocations: 23.95 kB / 343.8 MB, free: 5.121 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.01252, allocations: 4 kB / 343.8 MB, free: 5.117 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.984e-05/0.01262, allocations: 235 kB / 344.1 MB, free: 4.891 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01262, allocations: 3.938 kB / 344.1 MB, free: 4.887 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000207/0.01282, allocations: 67.84 kB / 344.1 MB, free: 4.82 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 8.104e-05/0.01291, allocations: 99.25 kB / 344.2 MB, free: 4.715 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002542/0.01316, allocations: 175.3 kB / 344.4 MB, free: 4.539 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01316, allocations: 0 / 344.4 MB, free: 4.539 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.01326, allocations: 103.5 kB / 344.5 MB, free: 4.434 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/0.01357, allocations: 55.45 kB / 344.6 MB, free: 4.383 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.01461, allocations: 0.6752 MB / 345.2 MB, free: 3.68 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.965e-05/0.01467, allocations: 117 kB / 345.4 MB, free: 3.543 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.745e-05/0.01477, allocations: 42.94 kB / 345.4 MB, free: 3.5 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.695e-05/0.01485, allocations: 32.5 kB / 345.4 MB, free: 3.465 MB / 266.7 MB Notification: Performance of SimCode: time 1.954e-06/0.01485, allocations: 0 / 345.4 MB, free: 3.465 MB / 266.7 MB Notification: Performance of Templates: time 0.004928/0.01978, allocations: 3.013 MB / 348.4 MB, free: 488 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: 2.790864200796932]