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.001065/0.001065, allocations: 73.88 kB / 20.65 MB, free: 3.848 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.001801/0.001801, allocations: 169 kB / 24.06 MB, free: 456 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.9744/0.9744, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.007031/0.007031, allocations: 1.691 MB / 262.7 MB, free: 11.2 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.763e-06/1.763e-06, allocations: 0 / 332.2 MB, free: 3.168 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.961e-05/2.137e-05, allocations: 2.312 kB / 332.2 MB, free: 3.164 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PLL.Examples.VariableFrequency): time 0.003001/0.003022, allocations: 2.319 MB / 334.5 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001501/0.004523, allocations: 0.8217 MB / 335.3 MB, free: 0 / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000187/0.00471, allocations: 15.92 kB / 335.3 MB, free: 15.98 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002024/0.004912, allocations: 51.41 kB / 335.4 MB, free: 15.93 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005943/0.005507, allocations: 139.1 kB / 335.5 MB, free: 15.8 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002002/0.005707, allocations: 115.8 kB / 335.6 MB, free: 15.68 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003244/0.006031, allocations: 342.7 kB / 336 MB, free: 15.35 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004209/0.006452, allocations: 121.8 kB / 336.1 MB, free: 15.23 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005089/0.006961, allocations: 295.3 kB / 336.4 MB, free: 14.95 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.007134, allocations: 171.6 kB / 336.5 MB, free: 14.78 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.824e-05/0.007172, allocations: 28 kB / 336.6 MB, free: 14.75 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.779e-05/0.00721, allocations: 32 kB / 336.6 MB, free: 14.72 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.007322, allocations: 127.6 kB / 336.7 MB, free: 14.59 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.874e-05/0.007401, allocations: 103.7 kB / 336.8 MB, free: 14.49 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002947/0.007696, allocations: 298.7 kB / 337.1 MB, free: 14.2 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.372e-06/0.007697, allocations: 0 / 337.1 MB, free: 14.2 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.22e-07/0.007698, allocations: 0 / 337.1 MB, free: 14.2 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.007703, allocations: 4 kB / 337.1 MB, free: 14.2 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.0007469/0.00845, allocations: 0.698 MB / 337.8 MB, free: 13.46 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.008491, allocations: 12.03 kB / 337.8 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.845e-05/0.008569, allocations: 64.64 kB / 337.9 MB, free: 13.39 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003112/0.00888, allocations: 307 kB / 338.2 MB, free: 13.06 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.008906, allocations: 20.88 kB / 338.2 MB, free: 13.04 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.903e-05/0.008945, allocations: 28.36 kB / 338.2 MB, free: 13.01 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003135/0.009258, allocations: 265.7 kB / 338.5 MB, free: 12.72 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.009268, allocations: 4.188 kB / 338.5 MB, free: 12.72 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/0.009288, allocations: 8.375 kB / 338.5 MB, free: 12.71 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.022e-05/0.009328, allocations: 36.58 kB / 338.6 MB, free: 12.68 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001572/0.009486, allocations: 107 kB / 338.7 MB, free: 12.57 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009676/0.01045, allocations: 1.183 MB / 339.8 MB, free: 11.34 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002901/0.01074, allocations: 156 kB / 340 MB, free: 11.17 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.031e-05/0.0108, allocations: 52.12 kB / 340 MB, free: 11.12 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.01083, allocations: 4.234 kB / 340.1 MB, free: 11.11 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.01086, allocations: 41.62 kB / 340.1 MB, free: 11.06 MB / 314.7 MB Notification: Performance of pre-optimization done (n=27): time 1.623e-06/0.01086, allocations: 0 / 340.1 MB, free: 11.06 MB / 314.7 MB Notification: Performance of matching and sorting (n=27): time 0.0003176/0.01117, allocations: 225 kB / 340.3 MB, free: 10.84 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.01121, allocations: 51.41 kB / 340.4 MB, free: 10.78 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001879/0.01139, allocations: 330.2 kB / 340.7 MB, free: 10.44 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.01141, allocations: 37.7 kB / 340.7 MB, free: 10.39 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.01154, allocations: 255.3 kB / 341 MB, free: 10.14 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.694e-05/0.01159, allocations: 103.1 kB / 341.1 MB, free: 10.04 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.438e-05/0.01167, allocations: 67.31 kB / 341.1 MB, free: 9.961 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.01182, allocations: 0.5196 MB / 341.7 MB, free: 9.43 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.317e-05/0.01187, allocations: 32.56 kB / 341.7 MB, free: 9.398 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.48e-05/0.01196, allocations: 95.72 kB / 341.8 MB, free: 9.285 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001594/0.01212, allocations: 158.3 kB / 341.9 MB, free: 9.109 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.01212, allocations: 3.938 kB / 341.9 MB, free: 9.105 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002332/0.01235, allocations: 213.3 kB / 342.1 MB, free: 8.891 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.01237, allocations: 8 kB / 342.2 MB, free: 8.883 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.01237, allocations: 0 / 342.2 MB, free: 8.883 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.01239, allocations: 11.92 kB / 342.2 MB, free: 8.871 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.01256, allocations: 63.91 kB / 342.2 MB, free: 8.809 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.01256, allocations: 7.938 kB / 342.2 MB, free: 8.801 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.646e-05/0.01264, allocations: 35.89 kB / 342.3 MB, free: 8.766 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.01265, allocations: 4 kB / 342.3 MB, free: 8.762 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 (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 0.0001061/0.01276, allocations: 172.5 kB / 342.4 MB, free: 8.582 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.417e-05/0.0128, allocations: 39.81 kB / 342.5 MB, free: 8.543 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002782/0.01308, allocations: 225.7 kB / 342.7 MB, free: 8.312 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.01308, allocations: 7.938 kB / 342.7 MB, free: 8.305 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.01309, allocations: 0 / 342.7 MB, free: 8.305 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.483e-06/0.01309, allocations: 3.984 kB / 342.7 MB, free: 8.301 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007942/0.01389, allocations: 0.5723 MB / 343.3 MB, free: 7.695 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.01389, allocations: 4 kB / 343.3 MB, free: 7.691 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001654/0.01405, allocations: 59.91 kB / 343.4 MB, free: 7.633 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.01406, allocations: 3.938 kB / 343.4 MB, free: 7.629 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/0.01408, allocations: 8 kB / 343.4 MB, free: 7.621 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.01408, allocations: 3.984 kB / 343.4 MB, free: 7.617 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.01408, allocations: 0 / 343.4 MB, free: 7.617 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003429/0.01442, allocations: 413.9 kB / 343.8 MB, free: 7.191 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.932e-05/0.01445, allocations: 35.7 kB / 343.8 MB, free: 7.156 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.685e-05/0.01448, allocations: 11.94 kB / 343.8 MB, free: 7.145 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.848e-05/0.01456, allocations: 11.98 kB / 343.8 MB, free: 7.133 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.902e-05/0.01461, allocations: 19.97 kB / 343.8 MB, free: 7.113 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.01462, allocations: 15.92 kB / 343.9 MB, free: 7.098 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001056/0.01473, allocations: 214.9 kB / 344.1 MB, free: 6.891 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01473, allocations: 0 / 344.1 MB, free: 6.891 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002069/0.01493, allocations: 75.78 kB / 344.1 MB, free: 6.816 MB / 314.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.665e-05/0.01502, allocations: 103.2 kB / 344.2 MB, free: 6.703 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002032/0.01522, allocations: 155.5 kB / 344.4 MB, free: 6.547 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01522, allocations: 0 / 344.4 MB, free: 6.547 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.923e-05/0.01531, allocations: 91.5 kB / 344.5 MB, free: 6.453 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.01558, allocations: 41.14 kB / 344.5 MB, free: 6.414 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009725/0.01656, allocations: 0.7233 MB / 345.3 MB, free: 5.656 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001458/0.0167, allocations: 212.8 kB / 345.5 MB, free: 5.43 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001551/0.01686, allocations: 118.2 kB / 345.6 MB, free: 5.312 MB / 314.7 MB Notification: Performance of SimCode: time 8.52e-07/0.01686, allocations: 0 / 345.6 MB, free: 5.312 MB / 314.7 MB Notification: Performance of Templates: time 0.005194/0.02205, allocations: 4.406 MB / 350 MB, free: 0.9141 MB / 314.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 > PLL_PLL.Examples.VariableFrequency.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.722160825971514]