Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialState.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_InitialState,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_InitialState") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004221/0.004227, allocations: 371.3 kB / 15.97 MB, free: 6.195 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 3.869/3.869, allocations: 388.9 MB / 405.6 MB, free: 48.56 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.004642/0.004642, allocations: 228.8 kB / 451 MB, free: 3.035 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.745/0.745, allocations: 80.01 MB / 0.5627 GB, free: 6.266 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004564/0.0004567, allocations: 23.94 kB / 0.6265 GB, free: 4.832 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1416, allocations: 54.87 MB / 0.6801 GB, free: 13.82 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialState): time 0.004826/0.1465, allocations: 2.644 MB / 0.6827 GB, free: 11.15 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.003871/0.1504, allocations: 1.412 MB / 0.6841 GB, free: 9.734 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004583/0.1509, allocations: 15.94 kB / 0.6841 GB, free: 9.719 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004701/0.1514, allocations: 83.33 kB / 0.6842 GB, free: 9.637 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006516/0.1521, allocations: 163 kB / 0.6843 GB, free: 9.477 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001588/0.1537, allocations: 387.4 kB / 0.6847 GB, free: 9.098 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001367/0.1551, allocations: 0.7405 MB / 0.6854 GB, free: 8.352 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004338/0.1555, allocations: 152.9 kB / 0.6856 GB, free: 8.195 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005655/0.1561, allocations: 278.7 kB / 0.6858 GB, free: 7.922 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006201/0.1567, allocations: 306.5 kB / 0.6861 GB, free: 7.621 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 9.972e-05/0.1568, allocations: 20 kB / 0.6861 GB, free: 7.602 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.157, allocations: 20 kB / 0.6862 GB, free: 7.582 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002317/0.1572, allocations: 147.4 kB / 0.6863 GB, free: 7.438 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001488/0.1574, allocations: 121.3 kB / 0.6864 GB, free: 7.312 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007413/0.1581, allocations: 0.4949 MB / 0.6869 GB, free: 6.816 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.1581, allocations: 0 / 0.6869 GB, free: 6.816 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.033e-06/0.1582, allocations: 4 kB / 0.6869 GB, free: 6.812 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.1582, allocations: 0 / 0.6869 GB, free: 6.812 MB / 394.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.003376/0.1616, allocations: 1.02 MB / 0.6879 GB, free: 5.742 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.1616, allocations: 8.031 kB / 0.6879 GB, free: 5.734 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002037/0.1618, allocations: 79.06 kB / 0.688 GB, free: 5.656 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001325/0.1632, allocations: 0.4907 MB / 0.6885 GB, free: 5.125 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.51e-05/0.1633, allocations: 36.95 kB / 0.6885 GB, free: 5.09 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001402/0.1634, allocations: 51.91 kB / 0.6885 GB, free: 5.039 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001813/0.1652, allocations: 0.5521 MB / 0.6891 GB, free: 4.461 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.434e-05/0.1653, allocations: 0 / 0.6891 GB, free: 4.461 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.176e-05/0.1654, allocations: 16 kB / 0.6891 GB, free: 4.445 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.822e-05/0.1654, allocations: 12 kB / 0.6891 GB, free: 4.434 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001883/0.1673, allocations: 465.9 kB / 0.6896 GB, free: 3.977 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005405/0.1727, allocations: 1.951 MB / 0.6915 GB, free: 1.957 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002158/0.1749, allocations: 0.5816 MB / 0.692 GB, free: 1.348 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001043/0.176, allocations: 270.4 kB / 0.6923 GB, free: 1.074 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.384e-05/0.1761, allocations: 4 kB / 0.6923 GB, free: 1.07 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.368e-05/0.1761, allocations: 46.56 kB / 0.6923 GB, free: 1.016 MB / 394.7 MB Notification: Performance of pre-optimization done (n=42): time 3.957e-06/0.1761, allocations: 0 / 0.6923 GB, free: 1.016 MB / 394.7 MB Notification: Performance of matching and sorting (n=43): time 0.2991/0.4752, allocations: 1.157 MB / 0.6935 GB, free: 80.86 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.64e-05/0.4753, allocations: 134.7 kB / 0.6936 GB, free: 80.7 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/0.4765, allocations: 0.5903 MB / 0.6942 GB, free: 80.58 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.511e-05/0.4766, allocations: 33.67 kB / 0.6942 GB, free: 80.55 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002562/0.4769, allocations: 322.7 kB / 0.6945 GB, free: 80.47 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001684/0.4771, allocations: 173 kB / 0.6947 GB, free: 80.43 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.61e-05/0.4771, allocations: 10.53 kB / 0.6947 GB, free: 80.43 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.4773, allocations: 382.3 kB / 0.695 GB, free: 80.12 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001027/0.4783, allocations: 276.7 kB / 0.6953 GB, free: 80.12 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001131/0.4795, allocations: 385.5 kB / 0.6957 GB, free: 80.02 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/0.4806, allocations: 311.7 kB / 0.696 GB, free: 80.02 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.4806, allocations: 0 / 0.696 GB, free: 80.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002588/0.4832, allocations: 0.7715 MB / 0.6967 GB, free: 79.94 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001224/0.4833, allocations: 176.8 kB / 0.6969 GB, free: 79.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.4834, allocations: 2.625 kB / 0.6969 GB, free: 79.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.95e-05/0.4834, allocations: 7.312 kB / 0.6969 GB, free: 79.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/0.4847, allocations: 147.7 kB / 0.697 GB, free: 79.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.518e-05/0.4847, allocations: 4.312 kB / 0.6971 GB, free: 79.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009324/0.4857, allocations: 90.3 kB / 0.6971 GB, free: 79.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.919e-05/0.4857, allocations: 20.28 kB / 0.6972 GB, free: 79.75 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.4858, allocations: 3.281 kB / 0.6972 GB, free: 79.75 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002228/0.488, allocations: 0.6604 MB / 0.6978 GB, free: 79.72 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.488, allocations: 2.625 kB / 0.6978 GB, free: 79.72 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.4881, allocations: 6.969 kB / 0.6978 GB, free: 79.72 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/0.4892, allocations: 143.5 kB / 0.698 GB, free: 79.71 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.4892, allocations: 9.969 kB / 0.698 GB, free: 79.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008687/0.4901, allocations: 75.47 kB / 0.698 GB, free: 79.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.354e-05/0.4902, allocations: 23.47 kB / 0.6981 GB, free: 79.7 MB / 394.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 (68): * Single equations (assignments): 68 * 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.0004077/0.4906, allocations: 270.7 kB / 0.6983 GB, free: 79.5 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001795/0.4908, allocations: 73.61 kB / 0.6984 GB, free: 79.46 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002047/0.491, allocations: 83.66 kB / 0.6985 GB, free: 79.45 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.491, allocations: 2.625 kB / 0.6985 GB, free: 79.45 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.491, allocations: 2.656 kB / 0.6985 GB, free: 79.45 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002802/0.4913, allocations: 194.7 kB / 0.6987 GB, free: 79.31 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000146/0.4915, allocations: 12.28 kB / 0.6987 GB, free: 79.31 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009026/0.4924, allocations: 70.62 kB / 0.6987 GB, free: 79.31 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001446/0.4925, allocations: 38.62 kB / 0.6988 GB, free: 79.3 MB / 394.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004603/0.4972, allocations: 1.094 MB / 0.6998 GB, free: 79.03 MB / 394.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003626/0.5008, allocations: 1.316 MB / 0.7011 GB, free: 78.63 MB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001078/0.5019, allocations: 304.2 kB / 0.7014 GB, free: 78.62 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0009035/0.5029, allocations: 422.4 kB / 0.7018 GB, free: 78.54 MB / 394.7 MB Notification: Performance of Backend: time 8.62e-07/0.5029, allocations: 0 / 0.7018 GB, free: 78.54 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003094/0.506, allocations: 0.8112 MB / 0.7026 GB, free: 78.34 MB / 394.7 MB Notification: Performance of SimCode: time 0.003262/0.5093, allocations: 2.024 MB / 0.7046 GB, free: 77 MB / 394.7 MB Notification: Performance of Templates: time 0.03004/0.5394, allocations: 9.846 MB / 0.7142 GB, free: 76.58 MB / 394.7 MB