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.0009235/0.0009235, allocations: 100.3 kB / 19.7 MB, free: 444 kB / 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.0008797/0.0008797, allocations: 209.2 kB / 22.99 MB, free: 2.988 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 0.975/0.975, allocations: 230.6 MB / 256.8 MB, free: 9.598 MB / 202.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.00758/0.00758, allocations: 2.27 MB / 315.5 MB, free: 15.63 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.001534/0.001534, allocations: 80.23 kB / 438.1 MB, free: 46.08 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07815/0.07968, allocations: 53.95 MB / 492.1 MB, free: 9.691 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PLL.Examples.VariableFrequency): time 0.002821/0.0825, allocations: 2.248 MB / 494.3 MB, free: 7.43 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.0836, allocations: 0.7868 MB / 495.1 MB, free: 6.637 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001422/0.08374, allocations: 11.88 kB / 495.1 MB, free: 6.625 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001672/0.08391, allocations: 55.45 kB / 495.2 MB, free: 6.57 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000512/0.08442, allocations: 139.3 kB / 495.3 MB, free: 6.434 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001455/0.08457, allocations: 111.8 kB / 495.4 MB, free: 6.324 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002661/0.08484, allocations: 335.1 kB / 495.7 MB, free: 5.996 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002155/0.08505, allocations: 117 kB / 495.8 MB, free: 5.883 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000208/0.08526, allocations: 151.4 kB / 496 MB, free: 5.734 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002636/0.08552, allocations: 231.1 kB / 496.2 MB, free: 5.508 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.659e-05/0.08556, allocations: 32 kB / 496.2 MB, free: 5.477 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.431e-05/0.08559, allocations: 36 kB / 496.3 MB, free: 5.441 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.0857, allocations: 139.5 kB / 496.4 MB, free: 5.305 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.0858, allocations: 131.2 kB / 496.5 MB, free: 5.176 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003599/0.08616, allocations: 450 kB / 497 MB, free: 4.734 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.08617, allocations: 0 / 497 MB, free: 4.734 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.08617, allocations: 0 / 497 MB, free: 4.734 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.08618, allocations: 7.938 kB / 497 MB, free: 4.727 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.0008982/0.08708, allocations: 0.6412 MB / 497.6 MB, free: 4.055 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.08712, allocations: 8.031 kB / 497.6 MB, free: 4.047 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.937e-05/0.08717, allocations: 48.59 kB / 497.7 MB, free: 4 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003383/0.08751, allocations: 310.3 kB / 498 MB, free: 3.672 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.08753, allocations: 20.88 kB / 498 MB, free: 3.652 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.005e-05/0.08757, allocations: 28.36 kB / 498 MB, free: 3.625 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004713/0.08804, allocations: 394.6 kB / 498.4 MB, free: 3.219 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.08805, allocations: 0 / 498.4 MB, free: 3.219 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.106e-05/0.08808, allocations: 12 kB / 498.4 MB, free: 3.207 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.569e-05/0.08811, allocations: 32.62 kB / 498.5 MB, free: 3.172 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004396/0.08855, allocations: 350.3 kB / 498.8 MB, free: 2.832 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/0.08965, allocations: 1.133 MB / 499.9 MB, free: 1.648 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005033/0.09015, allocations: 287.5 kB / 0.4885 GB, free: 1.359 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001723/0.09032, allocations: 153.2 kB / 0.4886 GB, free: 1.207 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.561e-05/0.09035, allocations: 4.234 kB / 0.4887 GB, free: 1.203 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.825e-05/0.09037, allocations: 38.73 kB / 0.4887 GB, free: 1.156 MB / 346.7 MB Notification: Performance of pre-optimization done (n=27): time 1.643e-06/0.09037, allocations: 3.938 kB / 0.4887 GB, free: 1.152 MB / 346.7 MB Notification: Performance of matching and sorting (n=27): time 0.0006415/0.09101, allocations: 489.4 kB / 0.4892 GB, free: 0.6719 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.888e-05/0.09104, allocations: 55.41 kB / 0.4892 GB, free: 0.6055 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002359/0.09127, allocations: 320.5 kB / 0.4895 GB, free: 288 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.09129, allocations: 37.64 kB / 0.4896 GB, free: 244 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.0914, allocations: 212.5 kB / 0.4898 GB, free: 28 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.1e-05/0.09147, allocations: 91.36 kB / 0.4898 GB, free: 15.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.74e-05/0.09153, allocations: 61.69 kB / 0.4899 GB, free: 15.87 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.533e-05/0.09162, allocations: 342.8 kB / 0.4902 GB, free: 15.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001702/0.09179, allocations: 139.9 kB / 0.4904 GB, free: 15.39 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001842/0.09197, allocations: 180.1 kB / 0.4905 GB, free: 15.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003578/0.09233, allocations: 336.6 kB / 0.4909 GB, free: 14.85 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.09233, allocations: 0 / 0.4909 GB, free: 14.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004389/0.09277, allocations: 408.9 kB / 0.4912 GB, free: 14.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.09279, allocations: 7.938 kB / 0.4913 GB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.0928, allocations: 4 kB / 0.4913 GB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.09281, allocations: 0 / 0.4913 GB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002019/0.09301, allocations: 87.98 kB / 0.4913 GB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.09302, allocations: 0 / 0.4913 GB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.09313, allocations: 47.75 kB / 0.4914 GB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.09314, allocations: 8 kB / 0.4914 GB, free: 14.3 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.0001317/0.09328, allocations: 181.7 kB / 0.4916 GB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.629e-05/0.09331, allocations: 31.81 kB / 0.4916 GB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004993/0.09381, allocations: 413.6 kB / 0.492 GB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.09382, allocations: 4 kB / 0.492 GB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.09382, allocations: 0 / 0.492 GB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.09383, allocations: 3.984 kB / 0.492 GB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000825/0.09465, allocations: 0.8033 MB / 0.4928 GB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.09465, allocations: 0 / 0.4928 GB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001814/0.09483, allocations: 75.89 kB / 0.4929 GB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.09484, allocations: 0 / 0.4929 GB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/0.09486, allocations: 15.97 kB / 0.4929 GB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.09486, allocations: 3.938 kB / 0.4929 GB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.09486, allocations: 0 / 0.4929 GB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006544/0.09551, allocations: 0.6684 MB / 0.4935 GB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.567e-05/0.09555, allocations: 35.7 kB / 0.4936 GB, free: 12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.128e-05/0.09558, allocations: 12 kB / 0.4936 GB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.09569, allocations: 24.02 kB / 0.4936 GB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.505e-05/0.09574, allocations: 19.95 kB / 0.4936 GB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.09575, allocations: 12 kB / 0.4936 GB, free: 11.94 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001571/0.09591, allocations: 231 kB / 0.4938 GB, free: 11.71 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.09591, allocations: 0 / 0.4938 GB, free: 11.71 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002127/0.09612, allocations: 79.78 kB / 0.4939 GB, free: 11.64 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 8.156e-05/0.09621, allocations: 107.1 kB / 0.494 GB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004021/0.09661, allocations: 320.3 kB / 0.4943 GB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.09661, allocations: 0 / 0.4943 GB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000181/0.09679, allocations: 172.3 kB / 0.4945 GB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/0.09709, allocations: 45.06 kB / 0.4945 GB, free: 10.99 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.0981, allocations: 0.8466 MB / 0.4954 GB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001437/0.09825, allocations: 216.8 kB / 0.4956 GB, free: 9.871 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.579e-05/0.09833, allocations: 35.42 kB / 0.4956 GB, free: 9.84 MB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/0.09833, allocations: 0 / 0.4956 GB, free: 9.84 MB / 362.7 MB Notification: Performance of Templates: time 0.004398/0.1027, allocations: 4.543 MB / 0.5 GB, free: 5.305 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 > PLL_PLL.Examples.VariableFrequency.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.812924132216722]