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.0009463/0.0009463, allocations: 100.2 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.0009433/0.0009429, 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.279/1.279, 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.2+maint.om/package.mo): time 0.2857/0.2857, allocations: 39.99 MB / 310.4 MB, free: 9.645 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.0005341/0.0005342, allocations: 16 kB / 378.8 MB, free: 12.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1076, allocations: 57.94 MB / 436.7 MB, free: 2.316 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialState): time 0.003312/0.111, allocations: 2.844 MB / 439.6 MB, free: 15.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002876/0.1139, allocations: 1.498 MB / 441.1 MB, free: 13.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004262/0.1143, allocations: 19.88 kB / 441.1 MB, free: 13.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000485/0.1148, allocations: 83.34 kB / 441.2 MB, free: 13.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005138/0.1154, allocations: 195.4 kB / 441.4 MB, free: 13.65 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001218/0.1166, allocations: 427.1 kB / 441.8 MB, free: 13.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008961/0.1175, allocations: 0.5773 MB / 442.4 MB, free: 12.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00037/0.1179, allocations: 189 kB / 442.6 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004558/0.1183, allocations: 310.7 kB / 442.9 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004035/0.1188, allocations: 318.4 kB / 443.2 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.983e-05/0.1188, allocations: 24 kB / 443.2 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.215e-05/0.1189, allocations: 20 kB / 443.2 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001689/0.1191, allocations: 159.4 kB / 443.4 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.1192, allocations: 133.3 kB / 443.5 MB, free: 11.51 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004445/0.1196, allocations: 0.53 MB / 444 MB, free: 10.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1196, allocations: 3.938 kB / 444 MB, free: 10.97 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1196, allocations: 3.938 kB / 444 MB, free: 10.97 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.375e-06/0.1197, allocations: 0 / 444 MB, free: 10.97 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.00216/0.1218, allocations: 1.055 MB / 445.1 MB, free: 9.859 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.1219, allocations: 16.03 kB / 445.1 MB, free: 9.844 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001496/0.122, allocations: 94.83 kB / 445.2 MB, free: 9.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009034/0.123, allocations: 0.5342 MB / 445.7 MB, free: 9.172 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.928e-05/0.123, allocations: 44.98 kB / 445.8 MB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.673e-05/0.1231, allocations: 48 kB / 445.8 MB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/0.1242, allocations: 0.6252 MB / 446.5 MB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.758e-05/0.1243, allocations: 3.938 kB / 446.5 MB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.191e-05/0.1243, allocations: 20 kB / 446.5 MB, free: 8.379 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/0.1244, allocations: 12 kB / 446.5 MB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001082/0.1254, allocations: 0.4939 MB / 447 MB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00363/0.1291, allocations: 2.686 MB / 449.7 MB, free: 5.082 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001197/0.1303, allocations: 0.578 MB / 450.2 MB, free: 4.477 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.642e-05/0.1304, allocations: 12 kB / 450.3 MB, free: 4.465 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/0.1304, allocations: 42.59 kB / 450.3 MB, free: 4.414 MB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 2.896e-06/0.1304, allocations: 0 / 450.3 MB, free: 4.414 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.002503/0.1329, allocations: 1.202 MB / 451.5 MB, free: 3.203 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.585e-05/0.133, allocations: 136.5 kB / 451.6 MB, free: 3.039 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00082/0.1338, allocations: 0.6528 MB / 452.3 MB, free: 2.379 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.709e-05/0.1339, allocations: 41.7 kB / 452.3 MB, free: 2.332 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002573/0.1342, allocations: 363.9 kB / 452.7 MB, free: 1.973 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001453/0.1343, allocations: 169.5 kB / 452.9 MB, free: 1.805 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.292e-05/0.1344, allocations: 16 kB / 452.9 MB, free: 1.789 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.1345, allocations: 330 kB / 453.2 MB, free: 1.461 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006081/0.1351, allocations: 285.1 kB / 453.5 MB, free: 1.184 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007042/0.1358, allocations: 449.2 kB / 453.9 MB, free: 0.6797 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006848/0.1365, allocations: 337 kB / 454.2 MB, free: 360 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.1365, allocations: 0 / 454.2 MB, free: 360 kB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.1833/0.3198, allocations: 0.8266 MB / 455.1 MB, free: 48.33 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003242/0.3201, allocations: 1.749 MB / 456.8 MB, free: 46.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.3202, allocations: 3.281 kB / 456.8 MB, free: 46.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.006e-05/0.3202, allocations: 8 kB / 456.8 MB, free: 46.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006961/0.3209, allocations: 163.5 kB / 457 MB, free: 46.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.639e-05/0.3209, allocations: 11.95 kB / 457 MB, free: 46.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005779/0.3215, allocations: 94.38 kB / 457.1 MB, free: 46.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.362e-05/0.3216, allocations: 27.05 kB / 457.1 MB, free: 46.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.456e-06/0.3216, allocations: 2.719 kB / 457.1 MB, free: 46.52 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001239/0.3228, allocations: 0.7157 MB / 457.8 MB, free: 46.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.3228, allocations: 6.438 kB / 457.8 MB, free: 46.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.895e-06/0.3229, allocations: 10.88 kB / 457.8 MB, free: 46.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005632/0.3234, allocations: 156 kB / 458 MB, free: 46.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/0.3234, allocations: 5.812 kB / 458 MB, free: 46.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000484/0.3239, allocations: 84.11 kB / 458.1 MB, free: 46.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.672e-05/0.324, allocations: 27.77 kB / 458.1 MB, free: 46.5 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.0003289/0.3243, allocations: 283.5 kB / 458.4 MB, free: 46.3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001359/0.3245, allocations: 84.78 kB / 458.5 MB, free: 46.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001701/0.3246, allocations: 89.62 kB / 458.6 MB, free: 46.29 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.293e-06/0.3247, allocations: 9.688 kB / 458.6 MB, free: 46.28 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.749e-06/0.3247, allocations: 0 / 458.6 MB, free: 46.28 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.3247, allocations: 5.891 kB / 458.6 MB, free: 46.28 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001154/0.3258, allocations: 0.8668 MB / 459.4 MB, free: 45.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.3259, allocations: 0 / 459.4 MB, free: 45.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006026/0.3265, allocations: 109.3 kB / 459.6 MB, free: 45.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.3265, allocations: 7.984 kB / 459.6 MB, free: 45.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.306e-05/0.3265, allocations: 15.14 kB / 459.6 MB, free: 45.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.3265, allocations: 6.266 kB / 459.6 MB, free: 45.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3265, allocations: 3.938 kB / 459.6 MB, free: 45.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001748/0.3283, allocations: 1.229 MB / 460.8 MB, free: 45.64 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002202/0.3285, allocations: 198.3 kB / 461 MB, free: 45.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.703e-05/0.3286, allocations: 9.625 kB / 461 MB, free: 45.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005099/0.3291, allocations: 65.66 kB / 461.1 MB, free: 45.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.166e-05/0.3292, allocations: 39.38 kB / 461.1 MB, free: 45.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.663e-05/0.3293, allocations: 13.47 kB / 461.1 MB, free: 45.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005077/0.3298, allocations: 459 kB / 461.6 MB, free: 45.42 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3298, allocations: 0 / 461.6 MB, free: 45.42 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007164/0.3305, allocations: 196.2 kB / 461.8 MB, free: 45.41 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.0001232/0.3307, allocations: 120.4 kB / 461.9 MB, free: 45.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001873/0.3325, allocations: 1.009 MB / 462.9 MB, free: 45.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.3326, allocations: 0.75 kB / 462.9 MB, free: 45.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006328/0.3332, allocations: 307.5 kB / 463.2 MB, free: 45.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009217/0.3341, allocations: 163.4 kB / 463.4 MB, free: 45.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002251/0.3364, allocations: 1.714 MB / 465.1 MB, free: 44.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/0.3367, allocations: 0.9745 MB / 466 MB, free: 43.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00045/0.3372, allocations: 148.3 kB / 466.2 MB, free: 43.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/0.3374, allocations: 47.19 kB / 466.2 MB, free: 43.7 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3374, allocations: 0 / 466.2 MB, free: 43.7 MB / 382.1 MB Notification: Performance of Templates: time 0.0107/0.3481, allocations: 6.555 MB / 472.8 MB, free: 43.28 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: