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.0009181/0.0009181, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006067/0.006985, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0009221/0.0009221, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002701/0.003623, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.013/1.013, allocations: 177.2 MB / 189.7 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08556/1.098, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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.01603/0.01603, allocations: 1.687 MB / 245.8 MB, free: 13.09 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002263/0.0183, allocations: 1.002 MB / 246.8 MB, free: 12.08 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.362e-06/1.362e-06, allocations: 0 / 248.1 MB, free: 10.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.978e-05/2.114e-05, allocations: 2.312 kB / 248.1 MB, free: 10.81 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PLL.Examples.VariableFrequency): time 0.002861/0.002883, allocations: 2.38 MB / 250.5 MB, free: 8.414 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001327/0.00421, allocations: 0.8448 MB / 251.3 MB, free: 7.562 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001528/0.004362, allocations: 11.88 kB / 251.3 MB, free: 7.551 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000124/0.004486, allocations: 51.45 kB / 251.4 MB, free: 7.5 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004588/0.004945, allocations: 135.1 kB / 251.5 MB, free: 7.367 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000203/0.005148, allocations: 115.9 kB / 251.6 MB, free: 7.254 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003064/0.005455, allocations: 334.9 kB / 252 MB, free: 6.926 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000212/0.005667, allocations: 123.4 kB / 252.1 MB, free: 6.805 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004666/0.006133, allocations: 329.1 kB / 252.4 MB, free: 6.48 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001764/0.00631, allocations: 171.6 kB / 252.6 MB, free: 6.312 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.881e-05/0.006348, allocations: 28 kB / 252.6 MB, free: 6.285 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.736e-05/0.006386, allocations: 32 kB / 252.6 MB, free: 6.254 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.006487, allocations: 99.64 kB / 252.7 MB, free: 6.156 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.829e-05/0.006566, allocations: 87.75 kB / 252.8 MB, free: 6.07 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002852/0.006851, allocations: 266.8 kB / 253.1 MB, free: 5.809 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.678e-06/0.00686, allocations: 0 / 253.1 MB, free: 5.809 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.81e-07/0.006861, allocations: 4 kB / 253.1 MB, free: 5.805 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.006873, allocations: 0 / 253.1 MB, free: 5.805 MB / 250.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.0009588/0.007831, allocations: 0.6316 MB / 253.7 MB, free: 5.148 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.007883, allocations: 12.62 kB / 253.7 MB, free: 5.137 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.013e-05/0.007963, allocations: 44.89 kB / 253.8 MB, free: 5.094 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003342/0.008297, allocations: 285.5 kB / 254 MB, free: 4.785 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.00832, allocations: 16.88 kB / 254.1 MB, free: 4.77 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.18e-05/0.008362, allocations: 36.34 kB / 254.1 MB, free: 4.734 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003245/0.008687, allocations: 254.4 kB / 254.3 MB, free: 4.457 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.008698, allocations: 4.125 kB / 254.3 MB, free: 4.453 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.008717, allocations: 12.38 kB / 254.4 MB, free: 4.441 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.861e-05/0.008756, allocations: 32.58 kB / 254.4 MB, free: 4.41 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000154/0.00891, allocations: 105.9 kB / 254.5 MB, free: 4.305 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.009963, allocations: 0.8545 MB / 255.3 MB, free: 3.414 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000344/0.01031, allocations: 187.5 kB / 255.5 MB, free: 3.223 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.289e-05/0.01037, allocations: 45.31 kB / 255.6 MB, free: 3.176 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.167e-05/0.0104, allocations: 4.234 kB / 255.6 MB, free: 3.172 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.01043, allocations: 34.8 kB / 255.6 MB, free: 3.129 MB / 250.7 MB Notification: Performance of pre-optimization done (n=27): time 1.754e-06/0.01043, allocations: 3.938 kB / 255.6 MB, free: 3.125 MB / 250.7 MB Notification: Performance of matching and sorting (n=27): time 0.0003118/0.01074, allocations: 167.6 kB / 255.8 MB, free: 2.957 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.01078, allocations: 55.41 kB / 255.8 MB, free: 2.891 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/0.01096, allocations: 274.9 kB / 256.1 MB, free: 2.609 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.01098, allocations: 29.7 kB / 256.1 MB, free: 2.574 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.636e-05/0.01106, allocations: 169.2 kB / 256.3 MB, free: 2.406 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.364e-05/0.01111, allocations: 99.11 kB / 256.4 MB, free: 2.309 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.887e-05/0.01118, allocations: 65.66 kB / 256.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.01128, allocations: 346.7 kB / 256.8 MB, free: 1.891 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.127e-05/0.01135, allocations: 30.81 kB / 256.8 MB, free: 1.859 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.937e-05/0.01143, allocations: 84.78 kB / 256.9 MB, free: 1.762 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.01159, allocations: 146.3 kB / 257 MB, free: 1.602 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.01159, allocations: 0 / 257 MB, free: 1.602 MB / 250.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002028/0.01179, allocations: 168.3 kB / 257.2 MB, free: 1.43 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.01181, allocations: 7.938 kB / 257.2 MB, free: 1.422 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.01182, allocations: 4 kB / 257.2 MB, free: 1.418 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.01183, allocations: 3.938 kB / 257.2 MB, free: 1.414 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000262/0.01209, allocations: 84.69 kB / 257.3 MB, free: 1.332 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.0121, allocations: 8.125 kB / 257.3 MB, free: 1.324 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.465e-05/0.01217, allocations: 23.78 kB / 257.3 MB, free: 1.301 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.01219, allocations: 15.98 kB / 257.4 MB, free: 1.285 MB / 250.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 9.606e-05/0.01229, allocations: 124.6 kB / 257.5 MB, free: 1.152 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.617e-05/0.01232, allocations: 23.98 kB / 257.5 MB, free: 1.129 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002359/0.01256, allocations: 185.7 kB / 257.7 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.01256, allocations: 7.938 kB / 257.7 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.01256, allocations: 0 / 257.7 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.01257, allocations: 0 / 257.7 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005709/0.01314, allocations: 0.546 MB / 258.2 MB, free: 372 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.01314, allocations: 0 / 258.2 MB, free: 372 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002069/0.01335, allocations: 63.91 kB / 258.3 MB, free: 308 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.295e-05/0.01338, allocations: 35.69 kB / 258.3 MB, free: 272 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.01339, allocations: 0 / 258.3 MB, free: 272 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.0134, allocations: 11.98 kB / 258.3 MB, free: 260 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.0134, allocations: 0 / 258.3 MB, free: 260 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.01341, allocations: 3.984 kB / 258.3 MB, free: 256 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003123/0.01372, allocations: 363 kB / 258.7 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.624e-05/0.01375, allocations: 15.94 kB / 258.7 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.061e-05/0.01383, allocations: 11.98 kB / 258.7 MB, free: 15.85 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.408e-05/0.01387, allocations: 15.97 kB / 258.7 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.01388, allocations: 8.031 kB / 258.8 MB, free: 15.83 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.521e-05/0.01396, allocations: 104.6 kB / 258.9 MB, free: 15.72 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01396, allocations: 0 / 258.9 MB, free: 15.72 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001818/0.01414, allocations: 67.89 kB / 258.9 MB, free: 15.66 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 0.0001083/0.01425, allocations: 84.34 kB / 259 MB, free: 15.57 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001848/0.01443, allocations: 145.2 kB / 259.1 MB, free: 15.42 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.151e-05/0.01444, allocations: 4 kB / 259.2 MB, free: 15.42 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.01455, allocations: 96.69 kB / 259.2 MB, free: 15.32 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003375/0.01488, allocations: 288.1 kB / 259.5 MB, free: 15 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001804/0.01669, allocations: 0.6572 MB / 260.2 MB, free: 14.31 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.489e-05/0.01676, allocations: 121 kB / 260.3 MB, free: 14.17 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002462/0.01701, allocations: 34.95 kB / 260.3 MB, free: 14.13 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.01714, allocations: 103.3 kB / 260.4 MB, free: 14.03 MB / 266.7 MB Notification: Performance of SimCode: time 8.21e-07/0.01714, allocations: 4 kB / 260.4 MB, free: 14.03 MB / 266.7 MB Notification: Performance of Templates: time 0.005459/0.0226, allocations: 3.159 MB / 263.6 MB, free: 10.92 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.58384766895324]