Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous") translateModel(ModelicaTest.Blocks.Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007284/0.0007282, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.005339/0.00534, allocations: 168.6 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.412/1.412, allocations: 205.4 MB / 222.5 MB, free: 5.555 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.346/0.346, allocations: 38.03 MB / 308.8 MB, free: 10.35 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.00061/0.00061, allocations: 16 kB / 377 MB, free: 14.83 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1137, allocations: 57.52 MB / 434.6 MB, free: 5.207 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous): time 0.003673/0.1174, allocations: 2.973 MB / 437.5 MB, free: 2.211 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002863/0.1203, allocations: 1.536 MB / 439.1 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005352/0.1209, allocations: 23.88 kB / 439.1 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005496/0.1215, allocations: 111.2 kB / 439.2 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006415/0.1221, allocations: 159 kB / 439.4 MB, free: 384 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001207/0.1233, allocations: 495.2 kB / 439.8 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009562/0.1243, allocations: 0.869 MB / 440.7 MB, free: 15.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003424/0.1247, allocations: 222.4 kB / 440.9 MB, free: 14.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003509/0.125, allocations: 294.4 kB / 441.2 MB, free: 14.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003939/0.1254, allocations: 346.1 kB / 441.6 MB, free: 14.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.909e-05/0.1255, allocations: 24 kB / 441.6 MB, free: 14.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.59e-05/0.1256, allocations: 20 kB / 441.6 MB, free: 14.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001585/0.1257, allocations: 155.3 kB / 441.7 MB, free: 13.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002251/0.126, allocations: 315.5 kB / 442.1 MB, free: 13.65 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005223/0.1265, allocations: 0.6886 MB / 442.7 MB, free: 12.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.1265, allocations: 4 kB / 442.7 MB, free: 12.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1265, allocations: 0 / 442.7 MB, free: 12.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.1265, allocations: 0 / 442.7 MB, free: 12.95 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.001927/0.1285, allocations: 1.055 MB / 443.8 MB, free: 11.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.1285, allocations: 8.031 kB / 443.8 MB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001333/0.1286, allocations: 91.89 kB / 443.9 MB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007942/0.1294, allocations: 0.57 MB / 444.5 MB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.82e-05/0.1295, allocations: 37.38 kB / 444.5 MB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.874e-05/0.1296, allocations: 60.28 kB / 444.6 MB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.1307, allocations: 0.6371 MB / 445.2 MB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.1307, allocations: 4 kB / 445.2 MB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.877e-05/0.1308, allocations: 20 kB / 445.2 MB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.1308, allocations: 12 kB / 445.2 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.1318, allocations: 0.49 MB / 445.7 MB, free: 9.828 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003394/0.1352, allocations: 2.698 MB / 448.4 MB, free: 7.027 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/0.1364, allocations: 0.5819 MB / 449 MB, free: 6.418 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00055/0.1369, allocations: 270.4 kB / 449.3 MB, free: 6.145 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.883e-05/0.137, allocations: 8 kB / 449.3 MB, free: 6.137 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.137, allocations: 42.62 kB / 449.3 MB, free: 6.086 MB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 2.314e-06/0.137, allocations: 7.938 kB / 449.3 MB, free: 6.078 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.00244/0.1395, allocations: 1.201 MB / 450.5 MB, free: 4.867 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.602e-05/0.1396, allocations: 136.5 kB / 450.7 MB, free: 4.703 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008215/0.1404, allocations: 0.6568 MB / 451.3 MB, free: 4.039 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.538e-05/0.1404, allocations: 37.7 kB / 451.4 MB, free: 3.996 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002683/0.1407, allocations: 363.9 kB / 451.7 MB, free: 3.637 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001438/0.1409, allocations: 169.5 kB / 451.9 MB, free: 3.469 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.491e-05/0.141, allocations: 69.62 kB / 451.9 MB, free: 3.395 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.1411, allocations: 333.9 kB / 452.3 MB, free: 3.062 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006237/0.1417, allocations: 289.1 kB / 452.6 MB, free: 2.781 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007347/0.1425, allocations: 448.7 kB / 453 MB, free: 2.277 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001319/0.1438, allocations: 0.7171 MB / 453.7 MB, free: 1.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.1438, allocations: 4 kB / 453.7 MB, free: 1.496 MB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001611/0.1454, allocations: 0.833 MB / 454.5 MB, free: 0.6562 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001574/0.1456, allocations: 233.9 kB / 454.8 MB, free: 372 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.1456, allocations: 4 kB / 454.8 MB, free: 368 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.1456, allocations: 15.94 kB / 454.8 MB, free: 352 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006385/0.1463, allocations: 159.8 kB / 455 MB, free: 192 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.428e-05/0.1463, allocations: 15.92 kB / 455 MB, free: 176 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000503/0.1468, allocations: 87.55 kB / 455.1 MB, free: 88 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.33e-05/0.1469, allocations: 31.98 kB / 455.1 MB, free: 56 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.101e-06/0.1469, allocations: 4 kB / 455.1 MB, free: 52 kB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1838/0.3307, allocations: 0.7048 MB / 455.8 MB, free: 49.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.3308, allocations: 12.84 kB / 455.8 MB, free: 49.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.3308, allocations: 6.031 kB / 455.8 MB, free: 49.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005667/0.3313, allocations: 154 kB / 456 MB, free: 49.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.3314, allocations: 9 kB / 456 MB, free: 49.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006281/0.332, allocations: 96.73 kB / 456.1 MB, free: 49.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.74e-05/0.332, allocations: 22.25 kB / 456.1 MB, free: 49.82 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003464/0.3324, allocations: 284.5 kB / 456.4 MB, free: 49.63 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/0.3325, allocations: 74.75 kB / 456.4 MB, free: 49.63 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001685/0.3327, allocations: 91.41 kB / 456.5 MB, free: 49.62 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.3327, allocations: 6.094 kB / 456.5 MB, free: 49.62 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.3327, allocations: 3 kB / 456.5 MB, free: 49.62 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.3328, allocations: 6.969 kB / 456.5 MB, free: 49.62 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/0.3338, allocations: 0.859 MB / 457.4 MB, free: 49.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3338, allocations: 3.5 kB / 457.4 MB, free: 49.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000569/0.3344, allocations: 117.1 kB / 457.5 MB, free: 49.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.3344, allocations: 3.156 kB / 457.5 MB, free: 49.33 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.884e-05/0.3345, allocations: 15.19 kB / 457.5 MB, free: 49.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.3345, allocations: 6.562 kB / 457.5 MB, free: 49.33 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.3345, allocations: 3.156 kB / 457.5 MB, free: 49.33 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0017/0.3362, allocations: 1.206 MB / 458.8 MB, free: 49.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001699/0.3364, allocations: 193.8 kB / 458.9 MB, free: 48.94 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.994e-05/0.3364, allocations: 12.41 kB / 459 MB, free: 48.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000514/0.337, allocations: 68.11 kB / 459 MB, free: 48.94 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.3371, allocations: 37.38 kB / 459.1 MB, free: 48.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-05/0.3371, allocations: 10.22 kB / 459.1 MB, free: 48.94 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000534/0.3376, allocations: 468.4 kB / 459.5 MB, free: 48.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3377, allocations: 0 / 459.5 MB, free: 48.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007121/0.3384, allocations: 195.4 kB / 459.7 MB, free: 48.84 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000124/0.3385, allocations: 126 kB / 459.8 MB, free: 48.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001931/0.3404, allocations: 1.012 MB / 460.9 MB, free: 48.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.3405, allocations: 3.969 kB / 460.9 MB, free: 48.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006108/0.3411, allocations: 304.2 kB / 461.2 MB, free: 48.71 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/0.3422, allocations: 185.7 kB / 461.3 MB, free: 48.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002407/0.3446, allocations: 1.798 MB / 463.1 MB, free: 47.83 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003645/0.345, allocations: 0.9528 MB / 464.1 MB, free: 47.12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004556/0.3455, allocations: 143.4 kB / 464.2 MB, free: 47.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001573/0.3456, allocations: 42.84 kB / 464.3 MB, free: 47.1 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3456, allocations: 0 / 464.3 MB, free: 47.1 MB / 382.1 MB Notification: Performance of Templates: time 0.0105/0.3561, allocations: 6.787 MB / 471.1 MB, free: 46.7 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous.sim & ./ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous.pipe 2>&1) Environment - environmentSimulation: