Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.Continuous_InitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialState") translateModel(ModelicaTest.Blocks.Continuous_InitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009547/0.0009548, allocations: 86.56 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.821/1.821, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4885/0.4885, allocations: 40 MB / 310.4 MB, free: 9.98 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006567/0.0006568, allocations: 16 kB / 378.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1581, allocations: 57.95 MB / 436.8 MB, free: 2.57 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialState): time 0.004151/0.1623, allocations: 2.84 MB / 439.6 MB, free: 15.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00361/0.1659, allocations: 1.517 MB / 441.1 MB, free: 14.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006329/0.1666, allocations: 19.88 kB / 441.2 MB, free: 14.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006523/0.1673, allocations: 107.2 kB / 441.3 MB, free: 14.06 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007035/0.168, allocations: 158.9 kB / 441.4 MB, free: 13.9 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001357/0.1694, allocations: 427.3 kB / 441.8 MB, free: 13.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00133/0.1707, allocations: 0.7872 MB / 442.6 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003704/0.1711, allocations: 185 kB / 442.8 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004867/0.1716, allocations: 306.5 kB / 443.1 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004312/0.172, allocations: 318.3 kB / 443.4 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.409e-05/0.1721, allocations: 24 kB / 443.4 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.43e-05/0.1722, allocations: 24 kB / 443.5 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001727/0.1723, allocations: 143.4 kB / 443.6 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.1725, allocations: 137.3 kB / 443.7 MB, free: 11.56 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004625/0.1729, allocations: 0.5416 MB / 444.3 MB, free: 11.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.1729, allocations: 0 / 444.3 MB, free: 11.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1729, allocations: 0 / 444.3 MB, free: 11.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.173, allocations: 0 / 444.3 MB, free: 11.02 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002013/0.175, allocations: 1.055 MB / 445.3 MB, free: 9.906 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.175, allocations: 8.031 kB / 445.3 MB, free: 9.898 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001406/0.1752, allocations: 106.8 kB / 445.4 MB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008225/0.176, allocations: 0.5343 MB / 446 MB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.763e-05/0.176, allocations: 37 kB / 446 MB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.268e-05/0.1761, allocations: 56 kB / 446.1 MB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/0.1772, allocations: 0.6251 MB / 446.7 MB, free: 8.445 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/0.1772, allocations: 4 kB / 446.7 MB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.214e-05/0.1773, allocations: 16 kB / 446.7 MB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.19e-05/0.1773, allocations: 15.98 kB / 446.7 MB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/0.1784, allocations: 0.4939 MB / 447.2 MB, free: 7.914 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003686/0.1821, allocations: 2.69 MB / 449.9 MB, free: 5.121 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/0.1833, allocations: 0.5776 MB / 450.5 MB, free: 4.52 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005708/0.1838, allocations: 270.4 kB / 450.8 MB, free: 4.246 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.884e-05/0.1839, allocations: 4 kB / 450.8 MB, free: 4.242 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.556e-05/0.184, allocations: 50.48 kB / 450.8 MB, free: 4.184 MB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 2.154e-06/0.184, allocations: 0 / 450.8 MB, free: 4.184 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.002453/0.1864, allocations: 1.206 MB / 452 MB, free: 2.965 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.655e-05/0.1865, allocations: 136.5 kB / 452.1 MB, free: 2.801 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008771/0.1874, allocations: 0.6529 MB / 452.8 MB, free: 2.141 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.151e-05/0.1875, allocations: 37.64 kB / 452.8 MB, free: 2.098 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003286/0.1878, allocations: 368 kB / 453.2 MB, free: 1.734 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001724/0.188, allocations: 169.5 kB / 453.4 MB, free: 1.566 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.98e-05/0.188, allocations: 8 kB / 453.4 MB, free: 1.559 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.1882, allocations: 334 kB / 453.7 MB, free: 1.227 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005961/0.1888, allocations: 281.1 kB / 454 MB, free: 0.9531 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007289/0.1895, allocations: 449.2 kB / 454.4 MB, free: 460 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006566/0.1902, allocations: 337 kB / 454.7 MB, free: 124 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.1902, allocations: 0 / 454.7 MB, free: 124 kB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.2921/0.4823, allocations: 0.8354 MB / 455.6 MB, free: 47.97 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001386/0.4825, allocations: 221.9 kB / 455.8 MB, free: 47.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.4825, allocations: 3.031 kB / 455.8 MB, free: 47.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.312e-05/0.4826, allocations: 8.312 kB / 455.8 MB, free: 47.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006911/0.4833, allocations: 166.1 kB / 456 MB, free: 47.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.469e-05/0.4833, allocations: 8.25 kB / 456 MB, free: 47.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005183/0.4838, allocations: 98.36 kB / 456.1 MB, free: 47.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.186e-05/0.4839, allocations: 22.34 kB / 456.1 MB, free: 47.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.585e-06/0.4839, allocations: 6.281 kB / 456.1 MB, free: 47.73 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001217/0.4851, allocations: 0.7074 MB / 456.8 MB, free: 47.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.4851, allocations: 9.125 kB / 456.8 MB, free: 47.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.739e-06/0.4852, allocations: 8.016 kB / 456.8 MB, free: 47.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005389/0.4857, allocations: 158.2 kB / 457 MB, free: 47.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.4857, allocations: 12.53 kB / 457 MB, free: 47.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004377/0.4862, allocations: 81.58 kB / 457.1 MB, free: 47.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.433e-05/0.4862, allocations: 20.72 kB / 457.1 MB, free: 47.68 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (limPID.I.local_reset,pID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003185/0.4865, allocations: 291.9 kB / 457.4 MB, free: 47.49 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/0.4867, allocations: 82.31 kB / 457.5 MB, free: 47.49 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002058/0.4869, allocations: 86.16 kB / 457.5 MB, free: 47.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.4869, allocations: 5.812 kB / 457.5 MB, free: 47.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.4869, allocations: 3.953 kB / 457.5 MB, free: 47.47 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.4869, allocations: 6.219 kB / 457.6 MB, free: 47.47 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/0.4881, allocations: 0.8622 MB / 458.4 MB, free: 47.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.4881, allocations: 0 / 458.4 MB, free: 47.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005797/0.4887, allocations: 115.5 kB / 458.5 MB, free: 47.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.4887, allocations: 3.344 kB / 458.5 MB, free: 47.17 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.812e-05/0.4888, allocations: 22.89 kB / 458.6 MB, free: 47.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/0.4888, allocations: 3.312 kB / 458.6 MB, free: 47.17 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.4888, allocations: 0 / 458.6 MB, free: 47.17 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001728/0.4905, allocations: 1.205 MB / 459.8 MB, free: 46.87 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000202/0.4908, allocations: 194.4 kB / 460 MB, free: 46.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.287e-05/0.4909, allocations: 17 kB / 460 MB, free: 46.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004894/0.4913, allocations: 66.75 kB / 460 MB, free: 46.74 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/0.4915, allocations: 42.14 kB / 460.1 MB, free: 46.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.768e-05/0.4915, allocations: 9.938 kB / 460.1 MB, free: 46.74 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005815/0.4921, allocations: 463.5 kB / 460.5 MB, free: 46.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.552e-06/0.4921, allocations: 0 / 460.5 MB, free: 46.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007866/0.4929, allocations: 195.9 kB / 460.7 MB, free: 46.64 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * 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 (44): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001425/0.493, allocations: 121 kB / 460.8 MB, free: 46.55 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002004/0.4951, allocations: 1.008 MB / 461.9 MB, free: 46.49 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.4951, allocations: 192 / 461.9 MB, free: 46.49 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006118/0.4957, allocations: 307.4 kB / 462.2 MB, free: 46.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/0.4968, allocations: 173 kB / 462.3 MB, free: 46.47 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002316/0.4991, allocations: 1.713 MB / 464 MB, free: 45.65 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003913/0.4995, allocations: 0.9522 MB / 465 MB, free: 44.94 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005327/0.5, allocations: 151 kB / 465.1 MB, free: 44.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001584/0.5002, allocations: 43.5 kB / 465.2 MB, free: 44.92 MB / 382.1 MB Notification: Performance of SimCode: time 2.043e-06/0.5002, allocations: 3.312 kB / 465.2 MB, free: 44.92 MB / 382.1 MB Notification: Performance of Templates: time 0.01125/0.5115, allocations: 6.581 MB / 471.8 MB, free: 44.5 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialState.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialState.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialState.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialState.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialState.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialState.pipe 2>&1) Environment - environmentSimulation: