Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_ModelicaTest.Blocks.Continuous_InitialState") translateModel(ModelicaTest.Blocks.Continuous_InitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001423/0.001423, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.001483/0.001484, allocations: 177.3 kB / 15.95 MB, free: 216 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.951/1.951, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4121/0.4121, allocations: 38.04 MB / 308.4 MB, free: 10.39 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.1. 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.0006438/0.0006442, allocations: 16 kB / 376.4 MB, free: 15.23 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.139, allocations: 57.52 MB / 433.9 MB, free: 5.602 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialState): time 0.004224/0.1432, allocations: 2.835 MB / 436.8 MB, free: 2.746 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003411/0.1467, allocations: 1.49 MB / 438.2 MB, free: 1.25 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006829/0.1474, allocations: 19.88 kB / 438.3 MB, free: 1.23 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006851/0.1481, allocations: 95.27 kB / 438.4 MB, free: 1.137 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008938/0.149, allocations: 195.4 kB / 438.5 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001466/0.1505, allocations: 415.3 kB / 439 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001308/0.1518, allocations: 0.5889 MB / 439.5 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003957/0.1522, allocations: 173.1 kB / 439.7 MB, free: 15.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000627/0.1529, allocations: 318.7 kB / 440 MB, free: 15.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005859/0.1535, allocations: 306.5 kB / 440.3 MB, free: 15.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001377/0.1536, allocations: 20 kB / 440.3 MB, free: 15.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.1537, allocations: 24 kB / 440.4 MB, free: 15.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001887/0.1539, allocations: 159.4 kB / 440.5 MB, free: 14.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001677/0.1541, allocations: 137.3 kB / 440.7 MB, free: 14.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005792/0.1547, allocations: 0.53 MB / 441.2 MB, free: 14.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1547, allocations: 0 / 441.2 MB, free: 14.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.1547, allocations: 0 / 441.2 MB, free: 14.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.3e-05/0.1548, allocations: 0 / 441.2 MB, free: 14.29 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.002709/0.1575, allocations: 1.063 MB / 442.2 MB, free: 13.17 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.1575, allocations: 8.031 kB / 442.3 MB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000325/0.1579, allocations: 94.83 kB / 442.3 MB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001241/0.1591, allocations: 0.5266 MB / 442.9 MB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.032e-05/0.1592, allocations: 48.92 kB / 442.9 MB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.1593, allocations: 63.89 kB / 443 MB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/0.1605, allocations: 0.6251 MB / 443.6 MB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/0.1606, allocations: 4 kB / 443.6 MB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.462e-05/0.1606, allocations: 20 kB / 443.6 MB, free: 11.69 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.1606, allocations: 12 kB / 443.6 MB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.1618, allocations: 0.4899 MB / 444.1 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005778/0.1675, allocations: 2.702 MB / 446.8 MB, free: 8.379 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001735/0.1694, allocations: 0.582 MB / 447.4 MB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.626e-05/0.1695, allocations: 4 kB / 447.4 MB, free: 7.766 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.929e-05/0.1695, allocations: 38.56 kB / 447.5 MB, free: 7.719 MB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 6.763e-06/0.1695, allocations: 4 kB / 447.5 MB, free: 7.715 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.003629/0.1732, allocations: 1.203 MB / 448.7 MB, free: 6.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.652e-05/0.1733, allocations: 144.5 kB / 448.8 MB, free: 6.328 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001242/0.1746, allocations: 0.6451 MB / 449.5 MB, free: 5.676 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.898e-05/0.1747, allocations: 37.7 kB / 449.5 MB, free: 5.633 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003645/0.175, allocations: 360 kB / 449.8 MB, free: 5.277 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002321/0.1753, allocations: 173.5 kB / 450 MB, free: 5.105 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.943e-05/0.1753, allocations: 12 kB / 450 MB, free: 5.094 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001927/0.1755, allocations: 334 kB / 450.3 MB, free: 4.762 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008824/0.1764, allocations: 285.1 kB / 450.6 MB, free: 4.484 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001036/0.1775, allocations: 449.2 kB / 451.1 MB, free: 3.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008106/0.1783, allocations: 333.2 kB / 451.4 MB, free: 3.656 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.852e-06/0.1783, allocations: 0 / 451.4 MB, free: 3.656 MB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001851/0.1802, allocations: 0.8291 MB / 452.2 MB, free: 2.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008785/0.1811, allocations: 1.746 MB / 454 MB, free: 0.9375 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2e-05/0.1811, allocations: 4 kB / 454 MB, free: 0.9336 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.631e-05/0.1812, allocations: 11.94 kB / 454 MB, free: 0.9219 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007695/0.1819, allocations: 167.8 kB / 454.1 MB, free: 0.7578 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.975e-05/0.182, allocations: 11.94 kB / 454.2 MB, free: 0.7461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007238/0.1827, allocations: 91.53 kB / 454.2 MB, free: 0.6562 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.108e-05/0.1828, allocations: 24 kB / 454.3 MB, free: 0.6328 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.1828, allocations: 4 kB / 454.3 MB, free: 0.6289 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.2635/0.4463, allocations: 0.7125 MB / 455 MB, free: 49.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.618e-05/0.4464, allocations: 5.906 kB / 455 MB, free: 49.44 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.4464, allocations: 8.719 kB / 455 MB, free: 49.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007741/0.4472, allocations: 149.5 kB / 455.1 MB, free: 49.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.569e-05/0.4472, allocations: 19.61 kB / 455.2 MB, free: 49.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006858/0.4479, allocations: 80.58 kB / 455.2 MB, free: 49.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.047e-05/0.448, allocations: 25.19 kB / 455.3 MB, free: 49.44 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.0003662/0.4483, allocations: 288.4 kB / 455.5 MB, free: 49.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001356/0.4485, allocations: 76.66 kB / 455.6 MB, free: 49.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001742/0.4487, allocations: 91 kB / 455.7 MB, free: 49.24 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.4487, allocations: 6.75 kB / 455.7 MB, free: 49.24 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/0.4487, allocations: 3.281 kB / 455.7 MB, free: 49.24 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.4487, allocations: 5.094 kB / 455.7 MB, free: 49.24 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/0.4499, allocations: 0.8638 MB / 456.6 MB, free: 48.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.4499, allocations: 0 / 456.6 MB, free: 48.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000582/0.4505, allocations: 116.1 kB / 456.7 MB, free: 48.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.4505, allocations: 3.281 kB / 456.7 MB, free: 48.95 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4e-05/0.4506, allocations: 19.17 kB / 456.7 MB, free: 48.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.4506, allocations: 3 kB / 456.7 MB, free: 48.95 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.4506, allocations: 0 / 456.7 MB, free: 48.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001758/0.4523, allocations: 1.236 MB / 458 MB, free: 48.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000211/0.4526, allocations: 195.6 kB / 458.2 MB, free: 48.53 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.435e-05/0.4526, allocations: 16.31 kB / 458.2 MB, free: 48.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004937/0.4531, allocations: 66.69 kB / 458.2 MB, free: 48.53 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.4533, allocations: 36.58 kB / 458.3 MB, free: 48.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.854e-05/0.4533, allocations: 12.91 kB / 458.3 MB, free: 48.53 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005335/0.4538, allocations: 455.2 kB / 458.7 MB, free: 48.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4539, allocations: 0 / 458.7 MB, free: 48.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007897/0.4546, allocations: 201.7 kB / 458.9 MB, free: 48.43 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.0001251/0.4548, allocations: 112 kB / 459 MB, free: 48.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001977/0.4568, allocations: 1.012 MB / 460 MB, free: 48.33 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.4568, allocations: 0 / 460 MB, free: 48.33 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005601/0.4573, allocations: 307.3 kB / 460.3 MB, free: 48.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008611/0.4582, allocations: 166.3 kB / 460.5 MB, free: 48.31 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002503/0.4607, allocations: 1.722 MB / 462.2 MB, free: 47.53 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004392/0.4612, allocations: 0.9714 MB / 463.2 MB, free: 46.82 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000464/0.4617, allocations: 147.2 kB / 463.3 MB, free: 46.81 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001509/0.4618, allocations: 43.44 kB / 463.4 MB, free: 46.8 MB / 382.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4618, allocations: 1.203 kB / 463.4 MB, free: 46.8 MB / 382.1 MB Notification: Performance of Templates: time 0.01164/0.4735, allocations: 6.548 MB / 469.9 MB, free: 46.39 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState.sim & ./ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState.pipe 2>&1) Environment - environmentSimulation: