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.001186/0.001186, allocations: 88.52 kB / 19.94 MB, free: 4.605 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.001309/0.001309, allocations: 177.9 kB / 23.21 MB, free: 1.328 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.9544/0.9544, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.007059/0.007059, allocations: 1.683 MB / 261.6 MB, free: 11.57 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.443e-06/1.443e-06, allocations: 0 / 384.3 MB, free: 13.04 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.34e-05/2.485e-05, allocations: 2.281 kB / 384.3 MB, free: 13.04 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PLL.Examples.VariableFrequency): time 0.002485/0.00251, allocations: 2.262 MB / 386.6 MB, free: 10.76 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001051/0.003561, allocations: 0.7945 MB / 387.4 MB, free: 9.961 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001352/0.003697, allocations: 15.88 kB / 387.4 MB, free: 9.945 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004103/0.004107, allocations: 59.44 kB / 387.5 MB, free: 9.887 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004805/0.004587, allocations: 131.2 kB / 387.6 MB, free: 9.758 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001501/0.004738, allocations: 111.8 kB / 387.7 MB, free: 9.648 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002756/0.005013, allocations: 346.8 kB / 388 MB, free: 9.309 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002103/0.005224, allocations: 116.9 kB / 388.2 MB, free: 9.195 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000249/0.005473, allocations: 207.4 kB / 388.4 MB, free: 8.992 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002607/0.005733, allocations: 211.5 kB / 388.6 MB, free: 8.785 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.961e-05/0.005773, allocations: 32 kB / 388.6 MB, free: 8.754 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.913e-05/0.005812, allocations: 36 kB / 388.6 MB, free: 8.719 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.00592, allocations: 139.5 kB / 388.8 MB, free: 8.582 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.463e-05/0.006004, allocations: 107.7 kB / 388.9 MB, free: 8.477 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003408/0.006345, allocations: 442.6 kB / 389.3 MB, free: 8.043 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.006349, allocations: 3.984 kB / 389.3 MB, free: 8.039 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.006351, allocations: 0 / 389.3 MB, free: 8.039 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.006357, allocations: 0 / 389.3 MB, free: 8.039 MB / 314.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.0008548/0.007212, allocations: 0.6489 MB / 390 MB, free: 7.359 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.007248, allocations: 8.031 kB / 390 MB, free: 7.352 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.397e-05/0.007312, allocations: 44.66 kB / 390 MB, free: 7.309 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003394/0.007652, allocations: 313.5 kB / 390.3 MB, free: 6.977 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.007674, allocations: 24.88 kB / 390.3 MB, free: 6.953 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.936e-05/0.007713, allocations: 24.38 kB / 390.4 MB, free: 6.93 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004534/0.008166, allocations: 382.9 kB / 390.7 MB, free: 6.535 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.008176, allocations: 192 / 390.7 MB, free: 6.535 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.118e-05/0.008197, allocations: 16.31 kB / 390.8 MB, free: 6.52 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-05/0.008232, allocations: 24.58 kB / 390.8 MB, free: 6.492 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004565/0.008689, allocations: 358.3 kB / 391.1 MB, free: 6.145 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/0.00981, allocations: 1.126 MB / 392.3 MB, free: 4.969 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004972/0.01031, allocations: 298.4 kB / 392.5 MB, free: 4.672 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001782/0.01049, allocations: 149.2 kB / 392.7 MB, free: 4.523 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/0.01051, allocations: 4.234 kB / 392.7 MB, free: 4.52 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.706e-05/0.01053, allocations: 34.8 kB / 392.7 MB, free: 4.477 MB / 314.7 MB Notification: Performance of pre-optimization done (n=27): time 1.493e-06/0.01053, allocations: 0 / 392.7 MB, free: 4.477 MB / 314.7 MB Notification: Performance of matching and sorting (n=27): time 0.0006525/0.01118, allocations: 491.2 kB / 393.2 MB, free: 3.992 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.01122, allocations: 63.33 kB / 393.3 MB, free: 3.918 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002487/0.01147, allocations: 328.5 kB / 393.6 MB, free: 3.578 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.01149, allocations: 29.7 kB / 393.6 MB, free: 3.543 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.01159, allocations: 204.6 kB / 393.8 MB, free: 3.34 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.457e-05/0.01164, allocations: 99.16 kB / 393.9 MB, free: 3.242 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.361e-05/0.01172, allocations: 61.69 kB / 394 MB, free: 3.176 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.876e-05/0.01181, allocations: 338.8 kB / 394.3 MB, free: 2.836 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001815/0.01199, allocations: 139.8 kB / 394.4 MB, free: 2.699 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004643/0.01245, allocations: 189.6 kB / 394.6 MB, free: 2.5 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003825/0.01284, allocations: 332.6 kB / 395 MB, free: 2.16 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.01284, allocations: 0 / 395 MB, free: 2.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004663/0.0133, allocations: 409.1 kB / 395.4 MB, free: 1.754 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.01332, allocations: 7.938 kB / 395.4 MB, free: 1.746 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.01333, allocations: 4 kB / 395.4 MB, free: 1.742 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.01334, allocations: 0 / 395.4 MB, free: 1.742 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002084/0.01355, allocations: 87.86 kB / 395.5 MB, free: 1.656 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.01356, allocations: 0 / 395.5 MB, free: 1.656 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.01367, allocations: 43.75 kB / 395.5 MB, free: 1.613 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.01369, allocations: 12.12 kB / 395.5 MB, free: 1.602 MB / 314.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.0001451/0.01383, allocations: 177.8 kB / 395.7 MB, free: 1.418 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.24e-05/0.01388, allocations: 27.81 kB / 395.7 MB, free: 1.391 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005278/0.0144, allocations: 425.5 kB / 396.1 MB, free: 0.9648 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.01441, allocations: 4 kB / 396.1 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.01441, allocations: 4 kB / 396.1 MB, free: 0.957 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.01442, allocations: 3.984 kB / 396.1 MB, free: 0.9531 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008514/0.01527, allocations: 0.7995 MB / 396.9 MB, free: 120 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.01527, allocations: 0 / 396.9 MB, free: 120 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001845/0.01546, allocations: 67.89 kB / 397 MB, free: 52 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.01546, allocations: 7.984 kB / 397 MB, free: 44 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.01548, allocations: 4 kB / 397 MB, free: 40 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.01548, allocations: 4 kB / 397 MB, free: 36 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.01548, allocations: 0 / 397 MB, free: 36 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007036/0.01619, allocations: 0.6684 MB / 397.7 MB, free: 15.35 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.809e-05/0.01622, allocations: 31.7 kB / 397.7 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.251e-05/0.01626, allocations: 12.03 kB / 397.7 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.01637, allocations: 15.98 kB / 397.7 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.848e-05/0.01642, allocations: 23.95 kB / 397.8 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.01644, allocations: 12 kB / 397.8 MB, free: 15.26 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000156/0.01659, allocations: 235 kB / 398 MB, free: 15.03 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01659, allocations: 3.938 kB / 398 MB, free: 15.03 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002211/0.01681, allocations: 79.72 kB / 398.1 MB, free: 14.95 MB / 330.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.0001014/0.01692, allocations: 103.2 kB / 398.2 MB, free: 14.84 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000412/0.01733, allocations: 316.3 kB / 398.5 MB, free: 14.53 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.01733, allocations: 0 / 398.5 MB, free: 14.53 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000184/0.01751, allocations: 176.5 kB / 398.7 MB, free: 14.36 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/0.01782, allocations: 53 kB / 398.7 MB, free: 14.31 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.01883, allocations: 0.8093 MB / 399.5 MB, free: 13.46 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001442/0.01898, allocations: 212.8 kB / 399.7 MB, free: 13.23 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.834e-05/0.01906, allocations: 36.5 kB / 399.8 MB, free: 13.2 MB / 330.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01906, allocations: 0 / 399.8 MB, free: 13.2 MB / 330.7 MB Notification: Performance of Templates: time 0.004767/0.02383, allocations: 4.557 MB / 404.3 MB, free: 8.648 MB / 330.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.644689882174134]