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.0007794/0.0007794, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009871/0.001767, allocations: 435.8 kB / 10.33 MB, free: 368 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.00096/0.00096, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009686/0.001929, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.061/1.061, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09692/1.158, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.02469/0.02469, allocations: 1.69 MB / 245.7 MB, free: 13.17 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00468/0.02937, allocations: 0.987 MB / 246.6 MB, free: 12.18 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.432e-06/1.432e-06, allocations: 0 / 247.9 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.713e-05/1.856e-05, allocations: 6.312 kB / 247.9 MB, free: 10.92 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PLL.Examples.VariableFrequency): time 0.003439/0.003458, allocations: 2.364 MB / 250.3 MB, free: 8.535 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001458/0.004916, allocations: 0.8487 MB / 251.1 MB, free: 7.68 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.005052, allocations: 11.88 kB / 251.1 MB, free: 7.668 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001436/0.005195, allocations: 55.45 kB / 251.2 MB, free: 7.613 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000438/0.005633, allocations: 131.2 kB / 251.3 MB, free: 7.484 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001865/0.00582, allocations: 111.9 kB / 251.4 MB, free: 7.375 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003091/0.006129, allocations: 335 kB / 251.7 MB, free: 7.047 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002085/0.006337, allocations: 123.4 kB / 251.9 MB, free: 6.926 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004591/0.006796, allocations: 333.6 kB / 252.2 MB, free: 6.598 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001686/0.006965, allocations: 175.5 kB / 252.4 MB, free: 6.426 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.54e-05/0.007, allocations: 28 kB / 252.4 MB, free: 6.398 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.368e-05/0.007034, allocations: 32 kB / 252.4 MB, free: 6.367 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.735e-05/0.007131, allocations: 103.6 kB / 252.5 MB, free: 6.266 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.939e-05/0.007211, allocations: 79.75 kB / 252.6 MB, free: 6.188 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002736/0.007484, allocations: 266.9 kB / 252.9 MB, free: 5.926 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.321e-05/0.007498, allocations: 3.984 kB / 252.9 MB, free: 5.922 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.007499, allocations: 0 / 252.9 MB, free: 5.922 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.521e-05/0.007514, allocations: 0 / 252.9 MB, free: 5.922 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.0007503/0.008265, allocations: 0.6316 MB / 253.5 MB, free: 5.266 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.008297, allocations: 12.62 kB / 253.5 MB, free: 5.254 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.494e-05/0.008362, allocations: 48.89 kB / 253.6 MB, free: 5.207 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003/0.008662, allocations: 277.5 kB / 253.8 MB, free: 4.91 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.008686, allocations: 20.88 kB / 253.8 MB, free: 4.891 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.358e-05/0.00872, allocations: 24.38 kB / 253.9 MB, free: 4.867 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003099/0.00903, allocations: 266.4 kB / 254.1 MB, free: 4.582 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.009041, allocations: 4.125 kB / 254.1 MB, free: 4.578 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.077e-05/0.009062, allocations: 8.375 kB / 254.1 MB, free: 4.57 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.105e-05/0.009103, allocations: 28.58 kB / 254.2 MB, free: 4.543 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001706/0.009273, allocations: 113.9 kB / 254.3 MB, free: 4.43 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008972/0.01017, allocations: 0.8544 MB / 255.1 MB, free: 3.539 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000293/0.01046, allocations: 195.2 kB / 255.3 MB, free: 3.344 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.263e-05/0.01052, allocations: 45.31 kB / 255.4 MB, free: 3.297 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.01054, allocations: 4.234 kB / 255.4 MB, free: 3.293 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.01056, allocations: 38.78 kB / 255.4 MB, free: 3.246 MB / 250.7 MB Notification: Performance of pre-optimization done (n=27): time 1.643e-06/0.01056, allocations: 0 / 255.4 MB, free: 3.246 MB / 250.7 MB Notification: Performance of matching and sorting (n=27): time 0.0002457/0.01081, allocations: 172.3 kB / 255.6 MB, free: 3.074 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.01084, allocations: 51.41 kB / 255.6 MB, free: 3.012 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.01099, allocations: 270.9 kB / 255.9 MB, free: 2.734 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.01101, allocations: 29.7 kB / 255.9 MB, free: 2.699 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.646e-05/0.01108, allocations: 165.2 kB / 256.1 MB, free: 2.535 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.719e-05/0.01114, allocations: 111.1 kB / 256.2 MB, free: 2.426 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.147e-05/0.0112, allocations: 61.66 kB / 256.3 MB, free: 2.359 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.882e-05/0.01128, allocations: 342.8 kB / 256.6 MB, free: 2.016 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.127e-05/0.01133, allocations: 34.8 kB / 256.6 MB, free: 1.98 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.576e-05/0.0114, allocations: 80.88 kB / 256.7 MB, free: 1.887 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.01153, allocations: 138.2 kB / 256.8 MB, free: 1.734 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.01154, allocations: 4 kB / 256.8 MB, free: 1.73 MB / 250.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000181/0.01172, allocations: 172.3 kB / 257 MB, free: 1.555 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.01173, allocations: 4 kB / 257 MB, free: 1.551 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.01174, allocations: 0 / 257 MB, free: 1.551 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.01175, allocations: 7.938 kB / 257 MB, free: 1.543 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002513/0.012, allocations: 79.89 kB / 257.1 MB, free: 1.465 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.012, allocations: 7.922 kB / 257.1 MB, free: 1.457 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.23e-05/0.01209, allocations: 27.78 kB / 257.1 MB, free: 1.43 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.0121, allocations: 12.12 kB / 257.1 MB, free: 1.418 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.493e-05/0.0122, allocations: 124.6 kB / 257.3 MB, free: 1.285 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.722e-05/0.01223, allocations: 27.97 kB / 257.3 MB, free: 1.258 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002245/0.01246, allocations: 185.7 kB / 257.5 MB, free: 1.07 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.01246, allocations: 7.938 kB / 257.5 MB, free: 1.062 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.01247, allocations: 3.984 kB / 257.5 MB, free: 1.059 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.01247, allocations: 3.938 kB / 257.5 MB, free: 1.055 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004811/0.01295, allocations: 0.5382 MB / 258 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01295, allocations: 4 kB / 258 MB, free: 500 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001909/0.01314, allocations: 71.89 kB / 258.1 MB, free: 428 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.916e-05/0.01317, allocations: 35.69 kB / 258.1 MB, free: 392 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.01318, allocations: 0 / 258.1 MB, free: 392 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.01319, allocations: 4 kB / 258.1 MB, free: 388 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.01319, allocations: 4 kB / 258.1 MB, free: 384 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.01319, allocations: 3.984 kB / 258.2 MB, free: 380 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002977/0.01349, allocations: 359 kB / 258.5 MB, free: 0 / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.132e-05/0.01353, allocations: 8.016 kB / 258.5 MB, free: 15.99 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.895e-05/0.01361, allocations: 8 kB / 258.5 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.702e-05/0.01366, allocations: 31.89 kB / 258.5 MB, free: 15.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.01367, allocations: 8 kB / 258.6 MB, free: 15.94 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.484e-05/0.01374, allocations: 100.5 kB / 258.7 MB, free: 15.84 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01374, allocations: 4 kB / 258.7 MB, free: 15.84 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001712/0.01392, allocations: 63.89 kB / 258.7 MB, free: 15.78 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.192e-05/0.014, allocations: 80.42 kB / 258.8 MB, free: 15.69 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002139/0.01421, allocations: 132.6 kB / 258.9 MB, free: 15.56 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.381e-05/0.01422, allocations: 8.25 kB / 258.9 MB, free: 15.55 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.006e-05/0.0143, allocations: 85.75 kB / 259 MB, free: 15.46 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002409/0.01455, allocations: 65.16 kB / 259.1 MB, free: 15.4 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001844/0.01639, allocations: 0.6609 MB / 259.7 MB, free: 14.71 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.311e-05/0.01646, allocations: 121 kB / 259.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.642e-05/0.01656, allocations: 42.94 kB / 259.9 MB, free: 14.53 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001263/0.01669, allocations: 95.36 kB / 260 MB, free: 14.43 MB / 266.7 MB Notification: Performance of SimCode: time 8.52e-07/0.01669, allocations: 0 / 260 MB, free: 14.43 MB / 266.7 MB Notification: Performance of Templates: time 0.005618/0.02231, allocations: 3.144 MB / 263.1 MB, free: 11.33 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.939459846355021]