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.001719/0.001719, allocations: 109.5 kB / 18.95 MB, free: 1.18 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.001947/0.001947, allocations: 223.6 kB / 22.25 MB, free: 3.586 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.525/1.525, allocations: 230.6 MB / 256 MB, free: 9.594 MB / 202.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.01275/0.01275, allocations: 2.276 MB / 314.7 MB, free: 15.65 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: PLL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003367/0.003367, allocations: 74.42 kB / 438.1 MB, free: 45.61 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06788/0.07124, allocations: 53.95 MB / 492.1 MB, free: 8.926 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PLL.Examples.VariableFrequency): time 0.003699/0.07494, allocations: 2.248 MB / 494.3 MB, free: 6.664 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001441/0.07638, allocations: 0.7946 MB / 495.1 MB, free: 5.863 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001411/0.07653, allocations: 11.88 kB / 495.1 MB, free: 5.852 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001772/0.0767, allocations: 59.44 kB / 495.2 MB, free: 5.793 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005219/0.07722, allocations: 135.3 kB / 495.3 MB, free: 5.66 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002102/0.07743, allocations: 111.8 kB / 495.4 MB, free: 5.551 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004146/0.07785, allocations: 339 kB / 495.8 MB, free: 5.219 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002449/0.07809, allocations: 116.9 kB / 495.9 MB, free: 5.105 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002488/0.07834, allocations: 151.4 kB / 496 MB, free: 4.957 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005728/0.07892, allocations: 239.1 kB / 496.2 MB, free: 4.723 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.847e-05/0.07897, allocations: 32 kB / 496.3 MB, free: 4.691 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.388e-05/0.07904, allocations: 32 kB / 496.3 MB, free: 4.66 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001669/0.07921, allocations: 131.6 kB / 496.4 MB, free: 4.531 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001597/0.07936, allocations: 143.1 kB / 496.6 MB, free: 4.391 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004945/0.07986, allocations: 446.1 kB / 497 MB, free: 3.953 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.07986, allocations: 0 / 497 MB, free: 3.953 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.07986, allocations: 0 / 497 MB, free: 3.953 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.07987, allocations: 4 kB / 497 MB, free: 3.949 MB / 346.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.00122/0.08109, allocations: 0.6411 MB / 497.7 MB, free: 3.277 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.924e-05/0.08112, allocations: 8.031 kB / 497.7 MB, free: 3.27 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.055e-05/0.0812, allocations: 44.66 kB / 497.7 MB, free: 3.227 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005061/0.08171, allocations: 322.2 kB / 498 MB, free: 2.887 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.08173, allocations: 20.88 kB / 498 MB, free: 2.867 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.739e-05/0.08179, allocations: 28.31 kB / 498.1 MB, free: 2.84 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007182/0.08251, allocations: 394.6 kB / 498.5 MB, free: 2.434 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.08252, allocations: 0 / 498.5 MB, free: 2.434 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.961e-05/0.08255, allocations: 16 kB / 498.5 MB, free: 2.418 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.681e-05/0.08258, allocations: 16.66 kB / 498.5 MB, free: 2.398 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007421/0.08333, allocations: 358.3 kB / 498.8 MB, free: 2.051 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001702/0.08503, allocations: 1.122 MB / 500 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000728/0.08576, allocations: 295.2 kB / 0.4885 GB, free: 0.5859 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003016/0.08606, allocations: 153.1 kB / 0.4887 GB, free: 444 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.738e-05/0.08609, allocations: 8.234 kB / 0.4887 GB, free: 436 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.08611, allocations: 30.8 kB / 0.4887 GB, free: 396 kB / 346.7 MB Notification: Performance of pre-optimization done (n=27): time 1.323e-06/0.08611, allocations: 4 kB / 0.4887 GB, free: 392 kB / 346.7 MB Notification: Performance of matching and sorting (n=27): time 0.001033/0.08715, allocations: 493.4 kB / 0.4892 GB, free: 15.9 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.08719, allocations: 51.41 kB / 0.4892 GB, free: 15.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000387/0.08758, allocations: 324.5 kB / 0.4895 GB, free: 15.51 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.403e-05/0.08761, allocations: 29.7 kB / 0.4896 GB, free: 15.47 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001659/0.08778, allocations: 208.6 kB / 0.4898 GB, free: 15.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.555e-05/0.08787, allocations: 99.16 kB / 0.4899 GB, free: 15.17 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.08798, allocations: 69.58 kB / 0.4899 GB, free: 15.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001842/0.08816, allocations: 346.8 kB / 0.4903 GB, free: 14.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002989/0.08846, allocations: 135.8 kB / 0.4904 GB, free: 14.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000325/0.08878, allocations: 176.2 kB / 0.4906 GB, free: 14.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006403/0.08943, allocations: 336.6 kB / 0.4909 GB, free: 14.08 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.08943, allocations: 0 / 0.4909 GB, free: 14.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007795/0.09021, allocations: 417 kB / 0.4913 GB, free: 13.67 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.09022, allocations: 4 kB / 0.4913 GB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.09023, allocations: 8 kB / 0.4913 GB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.09024, allocations: 4.125 kB / 0.4913 GB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003587/0.0906, allocations: 83.88 kB / 0.4914 GB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.0906, allocations: 0 / 0.4914 GB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002081/0.09081, allocations: 43.8 kB / 0.4914 GB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.436e-05/0.09084, allocations: 12 kB / 0.4914 GB, free: 13.52 MB / 362.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.0004007/0.09124, allocations: 173.8 kB / 0.4916 GB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.613e-05/0.0913, allocations: 35.75 kB / 0.4916 GB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000871/0.09217, allocations: 425.5 kB / 0.492 GB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.09218, allocations: 4 kB / 0.492 GB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.09218, allocations: 0 / 0.492 GB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.09219, allocations: 0 / 0.492 GB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001403/0.09359, allocations: 0.7994 MB / 0.4928 GB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.09359, allocations: 0 / 0.4928 GB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003384/0.09393, allocations: 71.89 kB / 0.4929 GB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.09393, allocations: 0 / 0.4929 GB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.119e-05/0.09395, allocations: 4 kB / 0.4929 GB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.09396, allocations: 4 kB / 0.4929 GB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.09396, allocations: 0 / 0.4929 GB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001139/0.0951, allocations: 0.6684 MB / 0.4935 GB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.174e-05/0.09516, allocations: 43.73 kB / 0.4936 GB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.266e-05/0.0952, allocations: 8 kB / 0.4936 GB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002068/0.09541, allocations: 19.97 kB / 0.4936 GB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.939e-05/0.09548, allocations: 19.97 kB / 0.4936 GB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.098e-05/0.0955, allocations: 11.98 kB / 0.4936 GB, free: 11.17 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002649/0.09576, allocations: 235 kB / 0.4939 GB, free: 10.95 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.09576, allocations: 3.938 kB / 0.4939 GB, free: 10.94 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003072/0.09607, allocations: 71.84 kB / 0.4939 GB, free: 10.87 MB / 362.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.0001064/0.09618, allocations: 103.2 kB / 0.494 GB, free: 10.76 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006717/0.09685, allocations: 328.1 kB / 0.4943 GB, free: 10.44 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.09685, allocations: 0 / 0.4943 GB, free: 10.44 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003289/0.09718, allocations: 172.3 kB / 0.4945 GB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000368/0.09755, allocations: 38.95 kB / 0.4946 GB, free: 10.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.09892, allocations: 0.8137 MB / 0.4953 GB, free: 9.387 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.09917, allocations: 216.8 kB / 0.4956 GB, free: 9.148 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001877/0.09936, allocations: 78.91 kB / 0.4956 GB, free: 9.074 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.09946, allocations: 35.42 kB / 0.4957 GB, free: 9.043 MB / 362.7 MB Notification: Performance of SimCode: time 4.61e-07/0.09947, allocations: 0 / 0.4957 GB, free: 9.043 MB / 362.7 MB Notification: Performance of Templates: time 0.007935/0.1074, allocations: 3.561 MB / 0.4991 GB, free: 5.504 MB / 362.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.616512957960367]