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.001703/0.001703, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.001855/0.001855, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.405/1.405, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 178] 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.01128/0.01128, allocations: 1.687 MB / 260.9 MB, free: 11.57 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.253e-06/1.253e-06, allocations: 0 / 384.4 MB, free: 12.24 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.075e-05/2.2e-05, allocations: 2.281 kB / 384.4 MB, free: 12.24 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PLL.Examples.VariableFrequency): time 0.003463/0.003485, allocations: 2.254 MB / 386.6 MB, free: 9.973 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001503/0.004988, allocations: 0.8062 MB / 387.4 MB, free: 9.16 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000133/0.005121, allocations: 11.88 kB / 387.4 MB, free: 9.148 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001716/0.005292, allocations: 55.44 kB / 387.5 MB, free: 9.094 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005403/0.005833, allocations: 135.2 kB / 387.6 MB, free: 8.961 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002091/0.006042, allocations: 111.8 kB / 387.7 MB, free: 8.852 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004179/0.00646, allocations: 346.7 kB / 388.1 MB, free: 8.512 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002525/0.006712, allocations: 121 kB / 388.2 MB, free: 8.395 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003385/0.007051, allocations: 199.5 kB / 388.4 MB, free: 8.199 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003799/0.007431, allocations: 207.5 kB / 388.6 MB, free: 7.996 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.106e-05/0.007492, allocations: 32 kB / 388.6 MB, free: 7.965 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.232e-05/0.007554, allocations: 32 kB / 388.6 MB, free: 7.934 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001874/0.007741, allocations: 139.5 kB / 388.8 MB, free: 7.797 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001481/0.007889, allocations: 111.7 kB / 388.9 MB, free: 7.688 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005414/0.008431, allocations: 458.4 kB / 389.3 MB, free: 7.238 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.008433, allocations: 0 / 389.3 MB, free: 7.238 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.008434, allocations: 4 kB / 389.3 MB, free: 7.234 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.00844, allocations: 0 / 389.3 MB, free: 7.234 MB / 314.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.001227/0.009667, allocations: 0.6483 MB / 390 MB, free: 6.559 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.009699, allocations: 8.031 kB / 390 MB, free: 6.551 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.398e-05/0.009783, allocations: 44.66 kB / 390 MB, free: 6.508 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004752/0.01026, allocations: 305.5 kB / 390.3 MB, free: 6.184 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.344e-05/0.01028, allocations: 16.88 kB / 390.3 MB, free: 6.168 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.743e-05/0.01034, allocations: 32.31 kB / 390.4 MB, free: 6.137 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006976/0.01104, allocations: 394.8 kB / 390.8 MB, free: 5.73 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.01105, allocations: 192 / 390.8 MB, free: 5.73 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.05e-05/0.01108, allocations: 12.36 kB / 390.8 MB, free: 5.719 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-05/0.01113, allocations: 28.58 kB / 390.8 MB, free: 5.688 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007421/0.01187, allocations: 346.3 kB / 391.1 MB, free: 5.352 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00173/0.0136, allocations: 1.133 MB / 392.3 MB, free: 4.168 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007287/0.01433, allocations: 296.2 kB / 392.6 MB, free: 3.871 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003189/0.01465, allocations: 145.2 kB / 392.7 MB, free: 3.727 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.241e-05/0.01468, allocations: 8.219 kB / 392.7 MB, free: 3.719 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.01471, allocations: 34.8 kB / 392.7 MB, free: 3.676 MB / 314.7 MB Notification: Performance of pre-optimization done (n=27): time 1.102e-06/0.01471, allocations: 0 / 392.7 MB, free: 3.676 MB / 314.7 MB Notification: Performance of matching and sorting (n=27): time 0.001028/0.01574, allocations: 493.3 kB / 393.2 MB, free: 3.191 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.01578, allocations: 55.41 kB / 393.3 MB, free: 3.125 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003813/0.01617, allocations: 324.5 kB / 393.6 MB, free: 2.789 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.178e-05/0.0162, allocations: 33.7 kB / 393.6 MB, free: 2.75 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001688/0.01637, allocations: 204.6 kB / 393.8 MB, free: 2.547 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/0.01647, allocations: 107.1 kB / 393.9 MB, free: 2.441 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.01657, allocations: 57.7 kB / 394 MB, free: 2.379 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.01675, allocations: 342.8 kB / 394.3 MB, free: 2.035 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002973/0.01705, allocations: 139.8 kB / 394.5 MB, free: 1.898 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003293/0.01738, allocations: 177.7 kB / 394.6 MB, free: 1.711 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006437/0.01802, allocations: 336.6 kB / 395 MB, free: 1.367 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.01802, allocations: 0 / 395 MB, free: 1.367 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000761/0.01878, allocations: 405.2 kB / 395.4 MB, free: 0.9648 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.0188, allocations: 15.94 kB / 395.4 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.01881, allocations: 4 kB / 395.4 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.01882, allocations: 4 kB / 395.4 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003439/0.01917, allocations: 75.88 kB / 395.5 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.01918, allocations: 4 kB / 395.5 MB, free: 0.8633 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002118/0.01939, allocations: 43.8 kB / 395.5 MB, free: 0.8203 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.552e-05/0.01941, allocations: 12 kB / 395.5 MB, free: 0.8086 MB / 314.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 0.0001896/0.0196, allocations: 169.8 kB / 395.7 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.971e-05/0.01966, allocations: 35.81 kB / 395.7 MB, free: 0.5977 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008437/0.02051, allocations: 425.5 kB / 396.1 MB, free: 176 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.02051, allocations: 4 kB / 396.1 MB, free: 172 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.02051, allocations: 0 / 396.1 MB, free: 172 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/0.02052, allocations: 7.938 kB / 396.1 MB, free: 164 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001621/0.02214, allocations: 0.8149 MB / 397 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.02214, allocations: 0 / 397 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003329/0.02248, allocations: 63.95 kB / 397 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.02248, allocations: 0 / 397 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.258e-05/0.0225, allocations: 8 kB / 397 MB, free: 15.24 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.0225, allocations: 0 / 397 MB, free: 15.24 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.02251, allocations: 7.938 kB / 397 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/0.02365, allocations: 0.6607 MB / 397.7 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.95e-05/0.0237, allocations: 39.73 kB / 397.7 MB, free: 14.52 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.246e-05/0.02375, allocations: 8 kB / 397.7 MB, free: 14.51 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002026/0.02395, allocations: 19.97 kB / 397.8 MB, free: 14.49 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.966e-05/0.02402, allocations: 19.97 kB / 397.8 MB, free: 14.47 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.02404, allocations: 7.984 kB / 397.8 MB, free: 14.46 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002843/0.02432, allocations: 239 kB / 398 MB, free: 14.23 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.02432, allocations: 0 / 398 MB, free: 14.23 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003061/0.02463, allocations: 71.84 kB / 398.1 MB, free: 14.16 MB / 330.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.0001202/0.02475, allocations: 103.2 kB / 398.2 MB, free: 14.05 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006823/0.02543, allocations: 320.2 kB / 398.5 MB, free: 13.74 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.02543, allocations: 0 / 398.5 MB, free: 13.74 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003202/0.02575, allocations: 168.4 kB / 398.7 MB, free: 13.57 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003928/0.02615, allocations: 55.77 kB / 398.7 MB, free: 13.53 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001366/0.02751, allocations: 0.7686 MB / 399.5 MB, free: 12.73 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.02776, allocations: 216.8 kB / 399.7 MB, free: 12.5 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001889/0.02795, allocations: 78.91 kB / 399.8 MB, free: 12.42 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.02805, allocations: 36.48 kB / 399.8 MB, free: 12.38 MB / 330.7 MB Notification: Performance of SimCode: time 4.11e-07/0.02805, allocations: 0 / 399.8 MB, free: 12.38 MB / 330.7 MB Notification: Performance of Templates: time 0.007451/0.03551, allocations: 3.254 MB / 403.1 MB, free: 9.156 MB / 330.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: 4.382097576279193]