Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput.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_InitialOutput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput") translateModel(ModelicaTest.Blocks.Continuous_InitialOutput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009006/0.0009005, allocations: 99.7 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.0008687/0.0008688, 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.286/1.286, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.2924/0.2924, allocations: 39.99 MB / 310.4 MB, free: 9.66 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.0005651/0.0005653, allocations: 16 kB / 378.8 MB, free: 12.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1089, allocations: 57.96 MB / 436.8 MB, free: 2.316 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.003388/0.1123, allocations: 2.852 MB / 439.6 MB, free: 15.44 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002643/0.115, allocations: 1.498 MB / 441.1 MB, free: 13.94 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004272/0.1154, allocations: 19.88 kB / 441.1 MB, free: 13.92 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004253/0.1159, allocations: 95.27 kB / 441.2 MB, free: 13.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005034/0.1164, allocations: 191.4 kB / 441.4 MB, free: 13.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.1174, allocations: 411.2 kB / 441.8 MB, free: 13.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009127/0.1184, allocations: 0.6085 MB / 442.4 MB, free: 12.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003091/0.1187, allocations: 189 kB / 442.6 MB, free: 12.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004209/0.1191, allocations: 318.7 kB / 442.9 MB, free: 12.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000396/0.1195, allocations: 326.4 kB / 443.2 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.039e-05/0.1196, allocations: 20 kB / 443.3 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002044/0.1198, allocations: 119.8 kB / 443.4 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000176/0.12, allocations: 151.4 kB / 443.5 MB, free: 11.51 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.1201, allocations: 133.3 kB / 443.6 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005768/0.1207, allocations: 0.6314 MB / 444.3 MB, free: 10.74 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.1207, allocations: 0 / 444.3 MB, free: 10.74 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.624e-06/0.1207, allocations: 0 / 444.3 MB, free: 10.74 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.1207, allocations: 0 / 444.3 MB, free: 10.74 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.00223/0.123, allocations: 1.067 MB / 445.3 MB, free: 9.621 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.123, allocations: 12.03 kB / 445.4 MB, free: 9.609 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001751/0.1232, allocations: 94.83 kB / 445.5 MB, free: 9.516 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000912/0.1241, allocations: 0.5304 MB / 446 MB, free: 8.941 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.74e-05/0.1242, allocations: 44.98 kB / 446 MB, free: 8.898 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.876e-05/0.1243, allocations: 55.94 kB / 446.1 MB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/0.1254, allocations: 0.6252 MB / 446.7 MB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.1254, allocations: 0 / 446.7 MB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.971e-05/0.1255, allocations: 16 kB / 446.7 MB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.1255, allocations: 15.94 kB / 446.7 MB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001105/0.1266, allocations: 0.4939 MB / 447.2 MB, free: 7.637 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003684/0.1303, allocations: 2.663 MB / 449.9 MB, free: 4.871 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.1313, allocations: 0.5355 MB / 450.4 MB, free: 4.309 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.177e-05/0.1314, allocations: 12.22 kB / 450.4 MB, free: 4.297 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.1314, allocations: 42.73 kB / 450.5 MB, free: 4.246 MB / 382.1 MB Notification: Performance of pre-optimization done (n=45): time 1.893e-06/0.1314, allocations: 0 / 450.5 MB, free: 4.246 MB / 382.1 MB Notification: Performance of matching and sorting (n=46): time 0.002536/0.134, allocations: 1.228 MB / 451.7 MB, free: 3.012 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.835e-05/0.1341, allocations: 140.5 kB / 451.8 MB, free: 2.844 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008399/0.135, allocations: 0.6528 MB / 452.5 MB, free: 2.184 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.55e-05/0.135, allocations: 37.64 kB / 452.5 MB, free: 2.141 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002596/0.1353, allocations: 360.8 kB / 452.9 MB, free: 1.785 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001539/0.1355, allocations: 185.3 kB / 453.1 MB, free: 1.602 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.229e-05/0.1355, allocations: 12 kB / 453.1 MB, free: 1.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.1356, allocations: 333.9 kB / 453.4 MB, free: 1.258 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006314/0.1363, allocations: 297.1 kB / 453.7 MB, free: 0.9688 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007267/0.137, allocations: 453 kB / 454.1 MB, free: 472 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007069/0.1377, allocations: 347.7 kB / 454.5 MB, free: 124 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1377, allocations: 0 / 454.5 MB, free: 124 kB / 382.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.1635/0.3012, allocations: 0.8508 MB / 455.3 MB, free: 47.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002479/0.3015, allocations: 1.748 MB / 457.1 MB, free: 46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.3015, allocations: 3.125 kB / 457.1 MB, free: 46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.493e-05/0.3016, allocations: 12.91 kB / 457.1 MB, free: 46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008517/0.3024, allocations: 204 kB / 457.3 MB, free: 46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.301e-05/0.3025, allocations: 15.09 kB / 457.3 MB, free: 46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005292/0.303, allocations: 89.5 kB / 457.4 MB, free: 46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.542e-05/0.303, allocations: 31.12 kB / 457.4 MB, free: 46 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.234e-06/0.3031, allocations: 5.156 kB / 457.4 MB, free: 46 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00121/0.3043, allocations: 0.7354 MB / 458.2 MB, free: 45.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.3043, allocations: 5.812 kB / 458.2 MB, free: 45.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.494e-06/0.3043, allocations: 12.81 kB / 458.2 MB, free: 45.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007548/0.3051, allocations: 198.2 kB / 458.4 MB, free: 45.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.3051, allocations: 12.06 kB / 458.4 MB, free: 45.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004692/0.3056, allocations: 87.41 kB / 458.5 MB, free: 45.97 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-05/0.3056, allocations: 29.48 kB / 458.5 MB, free: 45.97 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 (78): * Single equations (assignments): 77 * Array equations: 1 * 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.0002954/0.3059, allocations: 283.5 kB / 458.8 MB, free: 45.78 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.306, allocations: 78.92 kB / 458.9 MB, free: 45.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001479/0.3062, allocations: 100.1 kB / 459 MB, free: 45.76 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.3062, allocations: 2 kB / 459 MB, free: 45.76 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.3062, allocations: 1.312 kB / 459 MB, free: 45.76 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.3062, allocations: 9.031 kB / 459 MB, free: 45.76 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001664/0.3079, allocations: 1.282 MB / 460.3 MB, free: 45.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.3079, allocations: 0 / 460.3 MB, free: 45.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006048/0.3085, allocations: 122.9 kB / 460.4 MB, free: 45.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.3085, allocations: 5.281 kB / 460.4 MB, free: 45.36 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.798e-05/0.3086, allocations: 17.48 kB / 460.4 MB, free: 45.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.3086, allocations: 3.219 kB / 460.4 MB, free: 45.36 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.3086, allocations: 3.312 kB / 460.4 MB, free: 45.36 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00188/0.3105, allocations: 1.283 MB / 461.7 MB, free: 44.96 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002161/0.3107, allocations: 202 kB / 461.9 MB, free: 44.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.197e-05/0.3108, allocations: 17.02 kB / 461.9 MB, free: 44.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004969/0.3113, allocations: 63.06 kB / 462 MB, free: 44.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.3114, allocations: 40.97 kB / 462 MB, free: 44.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.764e-05/0.3115, allocations: 13.22 kB / 462 MB, free: 44.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004943/0.312, allocations: 458.1 kB / 462.5 MB, free: 44.74 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.312, allocations: 0 / 462.5 MB, free: 44.74 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000785/0.3128, allocations: 219.1 kB / 462.7 MB, free: 44.74 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (46): * Single equations (assignments): 46 * 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.0002547/0.313, allocations: 148 kB / 462.8 MB, free: 44.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002043/0.3151, allocations: 1.045 MB / 463.9 MB, free: 44.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.3151, allocations: 1.422 kB / 463.9 MB, free: 44.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005939/0.3157, allocations: 315.7 kB / 464.2 MB, free: 44.58 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008697/0.3166, allocations: 168.5 kB / 464.3 MB, free: 44.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002159/0.3188, allocations: 1.72 MB / 466.1 MB, free: 43.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003402/0.3191, allocations: 0.9699 MB / 467 MB, free: 43.01 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004331/0.3196, allocations: 150.5 kB / 467.2 MB, free: 43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001504/0.3197, allocations: 49.2 kB / 467.2 MB, free: 43 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3197, allocations: 0 / 467.2 MB, free: 43 MB / 382.1 MB Notification: Performance of Templates: time 0.01233/0.3321, allocations: 7.413 MB / 474.6 MB, free: 42.54 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1) Environment - environmentSimulation: