Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.Continuous_InitialOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criticalDamping.x.1.|criticalDamping.x.2.|derivative.x|firstOrder.y|integrator.y|limIntegrator.y|limPID.D.x|limPID.I.y|lowpassButterworth.x1.1.|lowpassButterworth.x2.1.|pI.x|pID.D.x|pID.I.y|secondOrder.y|secondOrder.yd|stateSpace.x.1.|stateSpace.x.2.|transferFunction.x_scaled.1.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003761/0.003761, allocations: 364.4 kB / 15.96 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.044/4.044, allocations: 388.9 MB / 405.6 MB, free: 10.24 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.005404/0.005404, allocations: 239.2 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.7737/0.7737, allocations: 80.03 MB / 0.5627 GB, free: 19.82 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004772/0.0004774, allocations: 11.98 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0936/0.09411, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.00382/0.09799, allocations: 2.664 MB / 0.6827 GB, free: 38.96 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0033/0.1013, allocations: 1.42 MB / 0.6841 GB, free: 37.54 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004532/0.1018, allocations: 19.88 kB / 0.6841 GB, free: 37.52 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004181/0.1023, allocations: 83.41 kB / 0.6842 GB, free: 37.44 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000579/0.1029, allocations: 156.1 kB / 0.6843 GB, free: 37.29 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001368/0.1043, allocations: 391.1 kB / 0.6847 GB, free: 36.91 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001048/0.1053, allocations: 0.7791 MB / 0.6855 GB, free: 36.13 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003583/0.1057, allocations: 160.8 kB / 0.6856 GB, free: 35.97 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004379/0.1062, allocations: 278.7 kB / 0.6859 GB, free: 35.7 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005356/0.1067, allocations: 322.5 kB / 0.6862 GB, free: 35.38 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.686e-05/0.1068, allocations: 20 kB / 0.6862 GB, free: 35.36 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000301/0.1071, allocations: 119.8 kB / 0.6863 GB, free: 35.24 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001767/0.1073, allocations: 143.4 kB / 0.6865 GB, free: 35.1 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.1075, allocations: 129.3 kB / 0.6866 GB, free: 34.97 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006796/0.1081, allocations: 0.5846 MB / 0.6872 GB, free: 34.38 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1082, allocations: 0 / 0.6872 GB, free: 34.38 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.966e-06/0.1082, allocations: 0 / 0.6872 GB, free: 34.38 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.1082, allocations: 3.938 kB / 0.6872 GB, free: 34.38 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.003102/0.1113, allocations: 1.008 MB / 0.6881 GB, free: 33.32 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.1114, allocations: 8.031 kB / 0.6882 GB, free: 33.31 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001871/0.1116, allocations: 86.97 kB / 0.6882 GB, free: 33.23 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/0.1127, allocations: 0.4947 MB / 0.6887 GB, free: 32.7 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.626e-05/0.1128, allocations: 29 kB / 0.6887 GB, free: 32.66 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/0.1129, allocations: 63.89 kB / 0.6888 GB, free: 32.6 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/0.1144, allocations: 0.5404 MB / 0.6893 GB, free: 32.04 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.645e-05/0.1145, allocations: 0 / 0.6893 GB, free: 32.04 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.069e-05/0.1146, allocations: 23.95 kB / 0.6894 GB, free: 32.02 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.434e-05/0.1146, allocations: 16 kB / 0.6894 GB, free: 32 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001687/0.1163, allocations: 458.7 kB / 0.6898 GB, free: 31.55 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004594/0.1209, allocations: 1.947 MB / 0.6917 GB, free: 29.53 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001722/0.1227, allocations: 0.5426 MB / 0.6922 GB, free: 28.96 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009306/0.1236, allocations: 278.4 kB / 0.6925 GB, free: 28.68 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.179e-05/0.1237, allocations: 4 kB / 0.6925 GB, free: 28.68 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.1238, allocations: 38.56 kB / 0.6925 GB, free: 28.63 MB / 346.7 MB Notification: Performance of pre-optimization done (n=44): time 3.025e-06/0.1238, allocations: 3.938 kB / 0.6925 GB, free: 28.62 MB / 346.7 MB Notification: Performance of matching and sorting (n=45): time 0.004002/0.1278, allocations: 1.169 MB / 0.6937 GB, free: 27.45 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.326e-05/0.1279, allocations: 136.5 kB / 0.6938 GB, free: 27.28 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/0.129, allocations: 0.59 MB / 0.6944 GB, free: 26.69 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.842e-05/0.1291, allocations: 37.7 kB / 0.6944 GB, free: 26.64 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002554/0.1294, allocations: 312.5 kB / 0.6947 GB, free: 26.34 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001704/0.1295, allocations: 177.5 kB / 0.6949 GB, free: 26.16 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.75e-05/0.1296, allocations: 8 kB / 0.6949 GB, free: 26.15 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.1297, allocations: 390.6 kB / 0.6953 GB, free: 25.76 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001062/0.1308, allocations: 289 kB / 0.6956 GB, free: 25.48 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001103/0.1319, allocations: 405.5 kB / 0.6959 GB, free: 25.05 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.133, allocations: 321.3 kB / 0.6962 GB, free: 24.74 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.1331, allocations: 0 / 0.6962 GB, free: 24.74 MB / 346.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002568/0.1356, allocations: 0.7983 MB / 0.697 GB, free: 23.94 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.26e-05/0.1358, allocations: 174.7 kB / 0.6972 GB, free: 23.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.1358, allocations: 0 / 0.6972 GB, free: 23.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.59e-05/0.1358, allocations: 8 kB / 0.6972 GB, free: 23.72 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001551/0.1374, allocations: 195.8 kB / 0.6974 GB, free: 23.53 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.984e-05/0.1374, allocations: 4 kB / 0.6974 GB, free: 23.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009205/0.1383, allocations: 87.62 kB / 0.6975 GB, free: 23.44 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.3e-05/0.1384, allocations: 24 kB / 0.6975 GB, free: 23.41 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.1384, allocations: 7.953 kB / 0.6975 GB, free: 23.41 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002203/0.1407, allocations: 0.6791 MB / 0.6982 GB, free: 22.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.1407, allocations: 4.062 kB / 0.6982 GB, free: 22.72 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.1407, allocations: 11.94 kB / 0.6982 GB, free: 22.71 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001481/0.1422, allocations: 191.8 kB / 0.6984 GB, free: 22.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.1422, allocations: 4 kB / 0.6984 GB, free: 22.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008978/0.1431, allocations: 79.64 kB / 0.6984 GB, free: 22.44 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.979e-05/0.1432, allocations: 27.94 kB / 0.6985 GB, free: 22.41 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 68 * 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.000375/0.1436, allocations: 283.8 kB / 0.6987 GB, free: 22.13 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001793/0.1438, allocations: 71.11 kB / 0.6988 GB, free: 22.06 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002033/0.144, allocations: 85.64 kB / 0.6989 GB, free: 21.97 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.144, allocations: 7.984 kB / 0.6989 GB, free: 21.96 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.144, allocations: 0 / 0.6989 GB, free: 21.96 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002712/0.1443, allocations: 184.1 kB / 0.6991 GB, free: 21.76 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000148/0.1445, allocations: 15.98 kB / 0.6991 GB, free: 21.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00091/0.1454, allocations: 67.94 kB / 0.6992 GB, free: 21.68 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/0.1456, allocations: 35.94 kB / 0.6992 GB, free: 21.64 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004611/0.1502, allocations: 1.104 MB / 0.7003 GB, free: 20.53 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003584/0.1538, allocations: 1.34 MB / 0.7016 GB, free: 19.18 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001078/0.155, allocations: 304.2 kB / 0.7019 GB, free: 18.88 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008705/0.1559, allocations: 415 kB / 0.7023 GB, free: 18.48 MB / 346.7 MB Notification: Performance of Backend: time 5.01e-07/0.1559, allocations: 0 / 0.7023 GB, free: 18.48 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003347/0.1592, allocations: 0.8683 MB / 0.7031 GB, free: 17.61 MB / 346.7 MB Notification: Performance of SimCode: time 0.003155/0.1624, allocations: 2.021 MB / 0.7051 GB, free: 15.53 MB / 346.7 MB Notification: Performance of Templates: time 0.02669/0.1892, allocations: 10.49 MB / 0.7153 GB, free: 5.109 MB / 346.7 MB