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.0009431/0.0009431, 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.001299/0.001299, 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.9884/0.9884, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.01737/0.01737, allocations: 1.694 MB / 261.9 MB, free: 11.24 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 / 279 MB, free: 10.17 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.838e-05/2.014e-05, allocations: 4.703 kB / 279 MB, free: 10.16 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PLL.Examples.VariableFrequency): time 0.002651/0.002671, allocations: 2.364 MB / 281.4 MB, free: 7.785 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001292/0.003963, allocations: 0.8254 MB / 282.2 MB, free: 6.953 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001337/0.004097, allocations: 11.88 kB / 282.2 MB, free: 6.941 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000152/0.004249, allocations: 63.44 kB / 282.3 MB, free: 6.879 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004824/0.004731, allocations: 139.1 kB / 282.4 MB, free: 6.742 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001797/0.004911, allocations: 115.8 kB / 282.5 MB, free: 6.629 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003007/0.005211, allocations: 334.9 kB / 282.9 MB, free: 6.301 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002011/0.005413, allocations: 128.4 kB / 283 MB, free: 6.18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004127/0.005825, allocations: 299.3 kB / 283.3 MB, free: 5.887 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001658/0.005991, allocations: 171.5 kB / 283.4 MB, free: 5.719 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.623e-05/0.006027, allocations: 32 kB / 283.5 MB, free: 5.688 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.369e-05/0.006061, allocations: 32 kB / 283.5 MB, free: 5.656 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.585e-05/0.006157, allocations: 123.6 kB / 283.6 MB, free: 5.535 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.013e-05/0.006237, allocations: 103.6 kB / 283.7 MB, free: 5.434 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002603/0.006497, allocations: 286.8 kB / 284 MB, free: 5.152 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.006499, allocations: 0 / 284 MB, free: 5.152 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.0065, allocations: 0 / 284 MB, free: 5.152 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.006505, allocations: 0 / 284 MB, free: 5.152 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.0006314/0.007136, allocations: 0.5772 MB / 284.6 MB, free: 4.551 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.069e-05/0.007167, allocations: 12.03 kB / 284.6 MB, free: 4.539 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.314e-05/0.00723, allocations: 48.89 kB / 284.6 MB, free: 4.492 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002903/0.00752, allocations: 273.5 kB / 284.9 MB, free: 4.199 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.808e-05/0.007548, allocations: 24.88 kB / 284.9 MB, free: 4.176 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.423e-05/0.007582, allocations: 28.33 kB / 285 MB, free: 4.148 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000305/0.007888, allocations: 262.3 kB / 285.2 MB, free: 3.863 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.007898, allocations: 192 / 285.2 MB, free: 3.863 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.946e-05/0.007917, allocations: 16.31 kB / 285.2 MB, free: 3.848 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.358e-05/0.007951, allocations: 28.58 kB / 285.3 MB, free: 3.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001597/0.008111, allocations: 109.9 kB / 285.4 MB, free: 3.711 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008244/0.008935, allocations: 0.8544 MB / 286.2 MB, free: 2.82 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002738/0.009209, allocations: 176.4 kB / 286.4 MB, free: 2.641 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.897e-05/0.009268, allocations: 49.31 kB / 286.4 MB, free: 2.59 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.009289, allocations: 8.234 kB / 286.4 MB, free: 2.582 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/0.009306, allocations: 30.8 kB / 286.5 MB, free: 2.543 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 1.823e-06/0.009308, allocations: 0 / 286.5 MB, free: 2.543 MB / 266.7 MB Notification: Performance of matching and sorting (n=27): time 0.0002587/0.009567, allocations: 176.3 kB / 286.6 MB, free: 2.367 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.565e-05/0.009593, allocations: 51.41 kB / 286.7 MB, free: 2.305 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.009747, allocations: 274.9 kB / 287 MB, free: 2.023 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.009764, allocations: 29.7 kB / 287 MB, free: 1.988 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.066e-05/0.009835, allocations: 169.2 kB / 287.2 MB, free: 1.816 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.971e-05/0.009884, allocations: 103.1 kB / 287.3 MB, free: 1.715 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.403e-05/0.009948, allocations: 53.69 kB / 287.3 MB, free: 1.656 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.705e-05/0.01004, allocations: 354.7 kB / 287.7 MB, free: 1.301 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.483e-05/0.01009, allocations: 34.81 kB / 287.7 MB, free: 1.266 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.694e-05/0.01016, allocations: 77.59 kB / 287.8 MB, free: 1.176 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.0103, allocations: 141.8 kB / 287.9 MB, free: 1.02 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.01031, allocations: 4 kB / 287.9 MB, free: 1.016 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001917/0.0105, allocations: 172.4 kB / 288.1 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.01051, allocations: 8 kB / 288.1 MB, free: 0.832 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.01051, allocations: 0 / 288.1 MB, free: 0.832 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.01052, allocations: 7.938 kB / 288.1 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002171/0.01074, allocations: 71.88 kB / 288.2 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.507e-06/0.01074, allocations: 4 kB / 288.2 MB, free: 0.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.681e-05/0.01082, allocations: 27.84 kB / 288.2 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.01083, allocations: 8 kB / 288.2 MB, free: 0.7148 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 8.785e-05/0.01092, allocations: 132.5 kB / 288.3 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.76e-05/0.01096, allocations: 27.98 kB / 288.4 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002208/0.01118, allocations: 189.7 kB / 288.5 MB, free: 360 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.01118, allocations: 3.938 kB / 288.6 MB, free: 356 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.01119, allocations: 4 kB / 288.6 MB, free: 352 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.01119, allocations: 0 / 288.6 MB, free: 352 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09837/0.1096, allocations: 0.5268 MB / 289.1 MB, free: 23.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.1096, allocations: 1.094 kB / 289.1 MB, free: 23.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002307/0.1098, allocations: 61.36 kB / 289.1 MB, free: 23.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.1098, allocations: 5.906 kB / 289.2 MB, free: 23.79 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/0.1098, allocations: 7.969 kB / 289.2 MB, free: 23.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.277e-06/0.1098, allocations: 3.031 kB / 289.2 MB, free: 23.79 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1098, allocations: 0 / 289.2 MB, free: 23.79 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003369/0.1102, allocations: 358.5 kB / 289.5 MB, free: 23.61 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.176e-05/0.1102, allocations: 38.64 kB / 289.5 MB, free: 23.61 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.812e-05/0.1102, allocations: 7.219 kB / 289.6 MB, free: 23.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.849e-05/0.1103, allocations: 10.56 kB / 289.6 MB, free: 23.61 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.838e-05/0.1104, allocations: 21.5 kB / 289.6 MB, free: 23.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.1104, allocations: 9.484 kB / 289.6 MB, free: 23.61 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.732e-05/0.1105, allocations: 101.7 kB / 289.7 MB, free: 23.6 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1105, allocations: 0.5 kB / 289.7 MB, free: 23.6 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002212/0.1107, allocations: 74.55 kB / 289.8 MB, free: 23.6 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 8.232e-05/0.1108, allocations: 84.23 kB / 289.9 MB, free: 23.53 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000198/0.111, allocations: 126.5 kB / 290 MB, free: 23.52 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.111, allocations: 4.562 kB / 290 MB, free: 23.52 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.111e-05/0.1111, allocations: 87.73 kB / 290.1 MB, free: 23.52 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.1113, allocations: 52.34 kB / 290.1 MB, free: 23.52 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009493/0.1123, allocations: 0.6714 MB / 290.8 MB, free: 23.18 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.776e-05/0.1124, allocations: 117 kB / 290.9 MB, free: 23.11 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001041/0.1125, allocations: 38.14 kB / 290.9 MB, free: 23.1 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001327/0.1126, allocations: 98.73 kB / 291 MB, free: 23.06 MB / 266.7 MB Notification: Performance of SimCode: time 1.162e-06/0.1126, allocations: 1.125 kB / 291 MB, free: 23.06 MB / 266.7 MB Notification: Performance of Templates: time 0.006314/0.1189, allocations: 3.126 MB / 294.2 MB, free: 22.82 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PLL_PLL.Examples.VariableFrequency.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8470418681390584]