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.001279/0.001279, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001473/0.001473, allocations: 177 kB / 23.36 MB, free: 1.133 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.9647/0.9647, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.01146/0.01146, allocations: 1.691 MB / 261.9 MB, free: 11.25 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.413e-06/1.413e-06, allocations: 0 / 279 MB, free: 10.23 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.197e-05/1.339e-05, allocations: 6.25 kB / 279 MB, free: 10.22 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PLL.Examples.VariableFrequency): time 0.003327/0.00334, allocations: 2.319 MB / 281.3 MB, free: 7.887 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001436/0.004777, allocations: 0.8254 MB / 282.1 MB, free: 7.055 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001443/0.004921, allocations: 11.88 kB / 282.1 MB, free: 7.043 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001842/0.005105, allocations: 63.39 kB / 282.2 MB, free: 6.98 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005459/0.005651, allocations: 139.1 kB / 282.3 MB, free: 6.844 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002106/0.005861, allocations: 115.8 kB / 282.4 MB, free: 6.73 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003738/0.006235, allocations: 342.9 kB / 282.8 MB, free: 6.395 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002343/0.00647, allocations: 120.4 kB / 282.9 MB, free: 6.281 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004924/0.006962, allocations: 299.3 kB / 283.2 MB, free: 5.988 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002223/0.007184, allocations: 167.6 kB / 283.4 MB, free: 5.824 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.902e-05/0.007233, allocations: 28 kB / 283.4 MB, free: 5.797 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.691e-05/0.00728, allocations: 36 kB / 283.4 MB, free: 5.762 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001359/0.007416, allocations: 127.6 kB / 283.5 MB, free: 5.637 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.007519, allocations: 95.69 kB / 283.6 MB, free: 5.543 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003471/0.007866, allocations: 298.8 kB / 283.9 MB, free: 5.25 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.007868, allocations: 0 / 283.9 MB, free: 5.25 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.007868, allocations: 0 / 283.9 MB, free: 5.25 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.007872, allocations: 0 / 283.9 MB, free: 5.25 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.0008095/0.008682, allocations: 0.5772 MB / 284.5 MB, free: 4.648 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.008714, allocations: 8.031 kB / 284.5 MB, free: 4.641 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.692e-05/0.008801, allocations: 48.89 kB / 284.6 MB, free: 4.594 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003821/0.009183, allocations: 277.5 kB / 284.8 MB, free: 4.297 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.812e-05/0.009211, allocations: 24.88 kB / 284.9 MB, free: 4.273 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.943e-05/0.00926, allocations: 28.33 kB / 284.9 MB, free: 4.246 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004007/0.009661, allocations: 262.4 kB / 285.1 MB, free: 3.961 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.009673, allocations: 192 / 285.1 MB, free: 3.961 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.481e-05/0.009697, allocations: 12.31 kB / 285.1 MB, free: 3.949 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-05/0.00974, allocations: 28.58 kB / 285.2 MB, free: 3.922 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002219/0.009962, allocations: 105.9 kB / 285.3 MB, free: 3.816 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.01107, allocations: 0.8506 MB / 286.1 MB, free: 2.93 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003555/0.01143, allocations: 176.8 kB / 286.3 MB, free: 2.746 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.22e-05/0.01151, allocations: 41.31 kB / 286.3 MB, free: 2.703 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.01153, allocations: 12.23 kB / 286.4 MB, free: 2.691 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.01156, allocations: 34.8 kB / 286.4 MB, free: 2.648 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 1.523e-06/0.01156, allocations: 0 / 286.4 MB, free: 2.648 MB / 266.7 MB Notification: Performance of matching and sorting (n=27): time 0.0003462/0.01191, allocations: 176.2 kB / 286.6 MB, free: 2.473 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/0.01194, allocations: 55.41 kB / 286.6 MB, free: 2.406 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00022/0.01216, allocations: 266.9 kB / 286.9 MB, free: 2.133 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.01218, allocations: 33.7 kB / 286.9 MB, free: 2.094 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.991e-05/0.01228, allocations: 173.2 kB / 287.1 MB, free: 1.918 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.166e-05/0.01236, allocations: 99.09 kB / 287.2 MB, free: 1.82 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.028e-05/0.01245, allocations: 53.69 kB / 287.2 MB, free: 1.762 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.01256, allocations: 350.7 kB / 287.6 MB, free: 1.41 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.9e-05/0.01264, allocations: 34.81 kB / 287.6 MB, free: 1.375 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.01274, allocations: 85.52 kB / 287.7 MB, free: 1.277 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002051/0.01295, allocations: 141.8 kB / 287.8 MB, free: 1.121 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.01295, allocations: 0 / 287.8 MB, free: 1.121 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002717/0.01322, allocations: 164.5 kB / 288 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.01323, allocations: 8 kB / 288 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.01324, allocations: 7.938 kB / 288 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.01325, allocations: 3.938 kB / 288 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002685/0.01352, allocations: 71.89 kB / 288.1 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.401e-06/0.01353, allocations: 3.984 kB / 288.1 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.01364, allocations: 23.84 kB / 288.1 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.068e-05/0.01367, allocations: 11.98 kB / 288.1 MB, free: 0.8242 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 0.0001186/0.01378, allocations: 140.5 kB / 288.3 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.087e-05/0.01385, allocations: 27.97 kB / 288.3 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003099/0.01415, allocations: 181.7 kB / 288.5 MB, free: 472 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.01416, allocations: 7.938 kB / 288.5 MB, free: 464 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-06/0.01416, allocations: 0 / 288.5 MB, free: 464 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.01417, allocations: 4 kB / 288.5 MB, free: 460 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1178/0.132, allocations: 0.525 MB / 289 MB, free: 24.49 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.132, allocations: 1.062 kB / 289 MB, free: 24.49 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003128/0.1323, allocations: 57.58 kB / 289.1 MB, free: 24.49 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.1323, allocations: 1.406 kB / 289.1 MB, free: 24.49 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.659e-05/0.1323, allocations: 11.25 kB / 289.1 MB, free: 24.49 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.1323, allocations: 1.25 kB / 289.1 MB, free: 24.49 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1323, allocations: 2.375 kB / 289.1 MB, free: 24.49 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000478/0.1328, allocations: 355 kB / 289.4 MB, free: 24.31 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.652e-05/0.1329, allocations: 36.64 kB / 289.4 MB, free: 24.31 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.294e-05/0.1329, allocations: 10.28 kB / 289.5 MB, free: 24.31 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.1331, allocations: 11.53 kB / 289.5 MB, free: 24.31 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.733e-05/0.1331, allocations: 21.08 kB / 289.5 MB, free: 24.31 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/0.1332, allocations: 7.172 kB / 289.5 MB, free: 24.31 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001357/0.1333, allocations: 104.7 kB / 289.6 MB, free: 24.3 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1333, allocations: 0 / 289.6 MB, free: 24.3 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003624/0.1337, allocations: 77.03 kB / 289.7 MB, free: 24.3 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 9.934e-05/0.1338, allocations: 78.98 kB / 289.8 MB, free: 24.23 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002655/0.134, allocations: 134.9 kB / 289.9 MB, free: 24.22 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/0.134, allocations: 3.469 kB / 289.9 MB, free: 24.22 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.1342, allocations: 84.09 kB / 290 MB, free: 24.21 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.1345, allocations: 45.94 kB / 290 MB, free: 24.21 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/0.1357, allocations: 0.6772 MB / 290.7 MB, free: 23.88 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.63e-05/0.1358, allocations: 120.8 kB / 290.8 MB, free: 23.8 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001386/0.1359, allocations: 36.86 kB / 290.8 MB, free: 23.8 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001671/0.1361, allocations: 97.52 kB / 290.9 MB, free: 23.75 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.1361, allocations: 2.297 kB / 290.9 MB, free: 23.75 MB / 266.7 MB Notification: Performance of Templates: time 0.006616/0.1427, allocations: 3.077 MB / 294 MB, free: 23.52 MB / 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.729187284130603]