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.00128/0.00128, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001428/0.001428, allocations: 169 kB / 24.05 MB, free: 460 kB / 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.9359/0.9359, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.006818/0.006818, allocations: 1.695 MB / 262.7 MB, free: 11.22 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.603e-06/1.603e-06, allocations: 0 / 333 MB, free: 17.29 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.879e-05/2.039e-05, allocations: 6.25 kB / 333 MB, free: 17.29 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PLL.Examples.VariableFrequency): time 0.002064/0.002084, allocations: 2.315 MB / 335.3 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009433/0.003027, allocations: 0.8215 MB / 336.1 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001275/0.003155, allocations: 11.88 kB / 336.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001483/0.003303, allocations: 55.44 kB / 336.2 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004303/0.003734, allocations: 147.1 kB / 336.4 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001305/0.003864, allocations: 111.8 kB / 336.5 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002253/0.004089, allocations: 338.9 kB / 336.8 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001766/0.004266, allocations: 117.8 kB / 336.9 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003452/0.004611, allocations: 299.4 kB / 337.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.004747, allocations: 171.5 kB / 337.4 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.026e-05/0.004777, allocations: 32 kB / 337.4 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.697e-05/0.004804, allocations: 32 kB / 337.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.678e-05/0.004881, allocations: 123.6 kB / 337.6 MB, free: 12.72 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.161e-05/0.004942, allocations: 99.69 kB / 337.7 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002294/0.005172, allocations: 298.8 kB / 337.9 MB, free: 12.33 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.005174, allocations: 0 / 337.9 MB, free: 12.33 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.005174, allocations: 4 kB / 337.9 MB, free: 12.32 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.00518, allocations: 0 / 337.9 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.0005534/0.005733, allocations: 0.702 MB / 338.6 MB, free: 11.59 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.948e-05/0.005763, allocations: 12.03 kB / 338.7 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.953e-05/0.005822, allocations: 64.66 kB / 338.7 MB, free: 11.51 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.006063, allocations: 314.9 kB / 339 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.006082, allocations: 16.88 kB / 339 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.996e-05/0.006112, allocations: 24.38 kB / 339.1 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002446/0.006357, allocations: 273.7 kB / 339.3 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.006366, allocations: 4.188 kB / 339.3 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.006383, allocations: 16.36 kB / 339.4 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.876e-05/0.006412, allocations: 20.59 kB / 339.4 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.006546, allocations: 119 kB / 339.5 MB, free: 10.68 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007008/0.007247, allocations: 1.175 MB / 340.7 MB, free: 9.457 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002395/0.007486, allocations: 148.1 kB / 340.8 MB, free: 9.301 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.11e-05/0.007537, allocations: 48.12 kB / 340.9 MB, free: 9.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.007556, allocations: 8.234 kB / 340.9 MB, free: 9.242 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.461e-05/0.007571, allocations: 41.56 kB / 340.9 MB, free: 9.191 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 1.703e-06/0.007573, allocations: 0 / 340.9 MB, free: 9.191 MB / 266.7 MB Notification: Performance of matching and sorting (n=27): time 0.0002643/0.007837, allocations: 229.5 kB / 341.1 MB, free: 8.965 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.883e-05/0.007856, allocations: 55.41 kB / 341.2 MB, free: 8.898 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.007987, allocations: 334.2 kB / 341.5 MB, free: 8.555 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.008, allocations: 29.7 kB / 341.5 MB, free: 8.52 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.104e-05/0.008071, allocations: 263.2 kB / 341.8 MB, free: 8.254 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.874e-05/0.00811, allocations: 103.1 kB / 341.9 MB, free: 8.152 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.593e-05/0.008166, allocations: 63.33 kB / 342 MB, free: 8.082 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.573e-05/0.008222, allocations: 0.5156 MB / 342.5 MB, free: 7.555 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.408e-05/0.008266, allocations: 38.05 kB / 342.5 MB, free: 7.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.193e-05/0.008328, allocations: 99.8 kB / 342.6 MB, free: 7.402 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.008448, allocations: 154.3 kB / 342.8 MB, free: 7.23 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.00845, allocations: 0 / 342.8 MB, free: 7.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001865/0.008636, allocations: 225.2 kB / 343 MB, free: 7.004 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.488e-06/0.008646, allocations: 4 kB / 343 MB, free: 7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.00865, allocations: 4 kB / 343 MB, free: 6.996 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.107e-06/0.008659, allocations: 3.938 kB / 343 MB, free: 6.992 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.008821, allocations: 72.03 kB / 343.1 MB, free: 6.922 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.008824, allocations: 0 / 343.1 MB, free: 6.922 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.638e-05/0.0089, allocations: 27.83 kB / 343.1 MB, free: 6.895 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.008912, allocations: 12 kB / 343.1 MB, free: 6.883 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 6.935e-05/0.008982, allocations: 172.5 kB / 343.3 MB, free: 6.703 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.748e-05/0.009019, allocations: 39.81 kB / 343.3 MB, free: 6.664 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002181/0.009237, allocations: 217.7 kB / 343.5 MB, free: 6.441 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.00924, allocations: 7.938 kB / 343.5 MB, free: 6.434 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.009242, allocations: 4 kB / 343.5 MB, free: 6.43 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.009246, allocations: 3.984 kB / 343.5 MB, free: 6.426 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000433/0.009679, allocations: 0.5762 MB / 344.1 MB, free: 5.816 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.009681, allocations: 0 / 344.1 MB, free: 5.816 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/0.009832, allocations: 59.91 kB / 344.2 MB, free: 5.758 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.009835, allocations: 7.938 kB / 344.2 MB, free: 5.75 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.009849, allocations: 4 kB / 344.2 MB, free: 5.746 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.009851, allocations: 4 kB / 344.2 MB, free: 5.742 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.009852, allocations: 3.938 kB / 344.2 MB, free: 5.738 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002672/0.01012, allocations: 425.7 kB / 344.6 MB, free: 5.305 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.414e-05/0.01014, allocations: 31.7 kB / 344.6 MB, free: 5.273 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.586e-05/0.01017, allocations: 11.94 kB / 344.7 MB, free: 5.262 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.023e-05/0.01025, allocations: 11.98 kB / 344.7 MB, free: 5.25 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.749e-05/0.01029, allocations: 23.95 kB / 344.7 MB, free: 5.227 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.0103, allocations: 4 kB / 344.7 MB, free: 5.223 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.974e-05/0.01037, allocations: 218.9 kB / 344.9 MB, free: 5.012 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01037, allocations: 0 / 344.9 MB, free: 5.012 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001861/0.01055, allocations: 71.84 kB / 345 MB, free: 4.941 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 6.419e-05/0.01062, allocations: 107.2 kB / 345.1 MB, free: 4.828 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001656/0.01078, allocations: 147.4 kB / 345.2 MB, free: 4.68 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.72e-07/0.01078, allocations: 0 / 345.2 MB, free: 4.68 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.641e-05/0.01086, allocations: 91.48 kB / 345.3 MB, free: 4.586 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.01111, allocations: 48.41 kB / 345.4 MB, free: 4.543 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007046/0.01181, allocations: 0.6751 MB / 346 MB, free: 3.84 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.134e-05/0.01186, allocations: 121 kB / 346.2 MB, free: 3.699 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.179e-05/0.01194, allocations: 38.95 kB / 346.2 MB, free: 3.66 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.01205, allocations: 118.2 kB / 346.3 MB, free: 3.543 MB / 266.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01205, allocations: 0 / 346.3 MB, free: 3.543 MB / 266.7 MB Notification: Performance of Templates: time 0.004377/0.01643, allocations: 3.201 MB / 349.5 MB, free: 380 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.8691914482042193]