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.001004/0.001004, allocations: 92.22 kB / 19.65 MB, free: 276 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.001166/0.001166, allocations: 173 kB / 23.02 MB, free: 1.547 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.022/1.022, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.01215/0.01215, allocations: 1.682 MB / 261.6 MB, free: 11.36 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.142e-06/1.142e-06, allocations: 3.938 kB / 331.8 MB, free: 17.56 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.098e-05/1.212e-05, allocations: 2.312 kB / 331.8 MB, free: 17.56 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PLL.Examples.VariableFrequency): time 0.002565/0.002577, allocations: 2.343 MB / 334.1 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001368/0.003945, allocations: 0.8138 MB / 334.9 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002007/0.004146, allocations: 15.81 kB / 335 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002197/0.004365, allocations: 63.44 kB / 335 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006374/0.005003, allocations: 135.1 kB / 335.1 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002023/0.005205, allocations: 115.8 kB / 335.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002829/0.005488, allocations: 331 kB / 335.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002155/0.005703, allocations: 117.8 kB / 335.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003964/0.0061, allocations: 299.3 kB / 336 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.006247, allocations: 179.5 kB / 336.2 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/0.006281, allocations: 32 kB / 336.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.047e-05/0.006312, allocations: 32 kB / 336.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.845e-05/0.0064, allocations: 135.6 kB / 336.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.201e-05/0.006472, allocations: 99.69 kB / 336.5 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002789/0.006751, allocations: 302.7 kB / 336.8 MB, free: 12.56 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.006753, allocations: 0 / 336.8 MB, free: 12.56 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.006754, allocations: 0 / 336.8 MB, free: 12.56 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.00676, allocations: 0 / 336.8 MB, free: 12.56 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.0007725/0.007532, allocations: 0.7215 MB / 337.5 MB, free: 11.8 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.007569, allocations: 8.031 kB / 337.5 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.516e-05/0.007655, allocations: 64.66 kB / 337.5 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002986/0.007953, allocations: 322.9 kB / 337.9 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.083e-05/0.007984, allocations: 20.88 kB / 337.9 MB, free: 11.37 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.779e-05/0.008022, allocations: 28.38 kB / 337.9 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003349/0.008357, allocations: 289.7 kB / 338.2 MB, free: 11.03 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.008367, allocations: 192 / 338.2 MB, free: 11.03 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.951e-05/0.008387, allocations: 12.38 kB / 338.2 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.72e-05/0.008424, allocations: 20.59 kB / 338.2 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002086/0.008632, allocations: 143.8 kB / 338.4 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008705/0.009503, allocations: 1.253 MB / 339.6 MB, free: 9.543 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003569/0.00986, allocations: 175.8 kB / 339.8 MB, free: 9.363 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.026e-05/0.00994, allocations: 64.12 kB / 339.9 MB, free: 9.297 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.009965, allocations: 4.234 kB / 339.9 MB, free: 9.293 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.009988, allocations: 33.62 kB / 339.9 MB, free: 9.25 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 2.735e-06/0.009991, allocations: 4 kB / 339.9 MB, free: 9.246 MB / 266.7 MB Notification: Performance of matching and sorting (n=27): time 0.0003929/0.01038, allocations: 257.5 kB / 340.1 MB, free: 8.992 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.704e-05/0.01041, allocations: 51.41 kB / 340.2 MB, free: 8.93 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.01059, allocations: 338.3 kB / 340.5 MB, free: 8.582 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.01061, allocations: 33.64 kB / 340.6 MB, free: 8.543 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.431e-05/0.01069, allocations: 259.2 kB / 340.8 MB, free: 8.281 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.18e-05/0.01073, allocations: 103.2 kB / 340.9 MB, free: 8.18 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.097e-05/0.01079, allocations: 63.34 kB / 341 MB, free: 8.109 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.032e-05/0.01087, allocations: 0.5157 MB / 341.5 MB, free: 7.582 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.038e-05/0.01094, allocations: 46.05 kB / 341.5 MB, free: 7.539 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.88e-05/0.01102, allocations: 107.9 kB / 341.6 MB, free: 7.414 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001855/0.01121, allocations: 174.3 kB / 341.8 MB, free: 7.223 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.01121, allocations: 0 / 341.8 MB, free: 7.223 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002725/0.01149, allocations: 245.2 kB / 342 MB, free: 6.977 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.0115, allocations: 9.969 kB / 342.1 MB, free: 6.969 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.01151, allocations: 4.125 kB / 342.1 MB, free: 6.965 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/0.01153, allocations: 4 kB / 342.1 MB, free: 6.961 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001853/0.01171, allocations: 83.88 kB / 342.1 MB, free: 6.879 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.01172, allocations: 0 / 342.1 MB, free: 6.879 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.987e-05/0.0118, allocations: 31.83 kB / 342.2 MB, free: 6.848 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.01182, allocations: 11.98 kB / 342.2 MB, free: 6.836 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 8.178e-05/0.0119, allocations: 168.5 kB / 342.4 MB, free: 6.66 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.969e-05/0.01194, allocations: 39.81 kB / 342.4 MB, free: 6.621 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002761/0.01221, allocations: 253.6 kB / 342.6 MB, free: 6.363 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.01222, allocations: 4 kB / 342.6 MB, free: 6.359 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.01222, allocations: 0 / 342.6 MB, free: 6.359 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.01223, allocations: 3.984 kB / 342.7 MB, free: 6.355 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006044/0.01283, allocations: 0.6576 MB / 343.3 MB, free: 5.656 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01283, allocations: 0 / 343.3 MB, free: 5.656 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001584/0.01299, allocations: 63.91 kB / 343.4 MB, free: 5.594 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.01299, allocations: 0 / 343.4 MB, free: 5.594 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/0.01301, allocations: 8 kB / 343.4 MB, free: 5.586 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.01301, allocations: 0 / 343.4 MB, free: 5.586 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.01301, allocations: 7.984 kB / 343.4 MB, free: 5.578 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003302/0.01334, allocations: 449.8 kB / 343.8 MB, free: 5.121 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.479e-05/0.01337, allocations: 35.7 kB / 343.9 MB, free: 5.086 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.473e-05/0.01339, allocations: 11.92 kB / 343.9 MB, free: 5.074 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.904e-05/0.01348, allocations: 12 kB / 343.9 MB, free: 5.062 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.636e-05/0.01354, allocations: 23.95 kB / 343.9 MB, free: 5.039 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.01355, allocations: 4 kB / 343.9 MB, free: 5.035 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001067/0.01366, allocations: 231 kB / 344.1 MB, free: 4.809 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01366, allocations: 0 / 344.1 MB, free: 4.809 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001871/0.01384, allocations: 79.78 kB / 344.2 MB, free: 4.73 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.927e-05/0.01391, allocations: 99.25 kB / 344.3 MB, free: 4.625 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002281/0.01414, allocations: 175.3 kB / 344.5 MB, free: 4.449 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.01414, allocations: 0 / 344.5 MB, free: 4.449 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.138e-05/0.01423, allocations: 95.52 kB / 344.6 MB, free: 4.352 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002886/0.01452, allocations: 56.86 kB / 344.6 MB, free: 4.301 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009236/0.01545, allocations: 0.6791 MB / 345.3 MB, free: 3.594 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.749e-05/0.0155, allocations: 117 kB / 345.4 MB, free: 3.457 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.593e-05/0.0156, allocations: 58.91 kB / 345.5 MB, free: 3.398 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.05e-05/0.01567, allocations: 32.48 kB / 345.5 MB, free: 3.363 MB / 266.7 MB Notification: Performance of SimCode: time 9.31e-07/0.01567, allocations: 0 / 345.5 MB, free: 3.363 MB / 266.7 MB Notification: Performance of Templates: time 0.004825/0.0205, allocations: 3.027 MB / 348.5 MB, free: 372 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.1301164436154068]