Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks.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.ConversionBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks") translateModel(ModelicaTest.Blocks.ConversionBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008369/0.008369, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001503/0.001504, allocations: 198.7 kB / 16.68 MB, free: 5.926 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.737/1.737, allocations: 205.1 MB / 222.5 MB, free: 4.48 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.4361/0.4361, allocations: 39.95 MB / 309.8 MB, free: 9.402 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.001716/0.001716, allocations: 67.91 kB / 435.8 MB, free: 2.449 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4127/0.4144, allocations: 56.87 MB / 492.7 MB, free: 19.44 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003795/0.4183, allocations: 2.087 MB / 494.8 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002077/0.4204, allocations: 1.314 MB / 496.1 MB, free: 17.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.4205, allocations: 3.906 kB / 496.1 MB, free: 17.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.213e-05/0.4206, allocations: 29.03 kB / 496.1 MB, free: 17.03 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001345/0.4208, allocations: 31.06 kB / 496.1 MB, free: 17.01 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005115/0.4213, allocations: 187.9 kB / 496.3 MB, free: 16.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002325/0.4215, allocations: 178.7 kB / 496.5 MB, free: 16.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00025/0.4218, allocations: 104.2 kB / 496.6 MB, free: 16.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001541/0.4219, allocations: 75.28 kB / 496.7 MB, free: 16.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.4221, allocations: 90.75 kB / 496.8 MB, free: 16.67 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.346e-05/0.4221, allocations: 15.94 kB / 496.8 MB, free: 16.67 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003249/0.4224, allocations: 149 kB / 496.9 MB, free: 16.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.477e-05/0.4225, allocations: 46.16 kB / 497 MB, free: 16.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.4226, allocations: 94.41 kB / 497 MB, free: 16.53 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005548/0.4232, allocations: 316.5 kB / 497.4 MB, free: 16.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.4232, allocations: 0 / 497.4 MB, free: 16.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.4232, allocations: 1.125 kB / 497.4 MB, free: 16.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.449e-05/0.4232, allocations: 0 / 497.4 MB, free: 16.39 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0007493/0.424, allocations: 0.5185 MB / 497.9 MB, free: 15.92 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.127e-05/0.424, allocations: 13.92 kB / 497.9 MB, free: 15.92 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001076/0.4251, allocations: 74.09 kB / 498 MB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.4252, allocations: 186.8 kB / 498.1 MB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/0.4253, allocations: 18.5 kB / 498.2 MB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.696e-05/0.4253, allocations: 29.69 kB / 498.2 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003964/0.4257, allocations: 198.2 kB / 498.4 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.4257, allocations: 0 / 498.4 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/0.4258, allocations: 9.688 kB / 498.4 MB, free: 15.56 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.4258, allocations: 7.203 kB / 498.4 MB, free: 15.56 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003084/0.4261, allocations: 155.8 kB / 498.6 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009063/0.427, allocations: 0.5904 MB / 499.1 MB, free: 15.1 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005623/0.4276, allocations: 231.5 kB / 499.4 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/0.4277, allocations: 69.58 kB / 499.4 MB, free: 15 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.708e-05/0.4278, allocations: 3.172 kB / 499.4 MB, free: 15 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.4278, allocations: 32.2 kB / 499.5 MB, free: 14.96 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 1.383e-06/0.4278, allocations: 0 / 499.5 MB, free: 14.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004794/0.4283, allocations: 217.1 kB / 499.7 MB, free: 14.87 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.4283, allocations: 55.03 kB / 499.7 MB, free: 14.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.999e-05/0.4284, allocations: 110.9 kB / 499.8 MB, free: 14.7 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.4284, allocations: 29.7 kB / 499.9 MB, free: 14.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.695e-05/0.4285, allocations: 134.1 kB / 0.4883 GB, free: 14.54 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.12e-05/0.4286, allocations: 89 kB / 0.4884 GB, free: 14.47 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.258e-05/0.4286, allocations: 41.38 kB / 0.4884 GB, free: 14.44 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.21e-05/0.4287, allocations: 321.2 kB / 0.4887 GB, free: 14.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.4288, allocations: 51.72 kB / 0.4888 GB, free: 14.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.461e-05/0.4289, allocations: 45.91 kB / 0.4888 GB, free: 14.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002199/0.4292, allocations: 121.6 kB / 0.4889 GB, free: 14.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.4292, allocations: 1.031 kB / 0.4889 GB, free: 14.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002884/0.4295, allocations: 163.1 kB / 0.4891 GB, free: 13.96 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.4295, allocations: 6 kB / 0.4891 GB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.4295, allocations: 0.6094 kB / 0.4891 GB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.4295, allocations: 1.375 kB / 0.4891 GB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000408/0.43, allocations: 105.5 kB / 0.4892 GB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.43, allocations: 1.156 kB / 0.4892 GB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.851e-05/0.4301, allocations: 13.48 kB / 0.4892 GB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/0.4301, allocations: 8.594 kB / 0.4892 GB, free: 13.94 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (27): * Single equations (assignments): 27 * 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.0001146/0.4302, allocations: 138.3 kB / 0.4893 GB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.685e-05/0.4302, allocations: 9.156 kB / 0.4894 GB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.766e-05/0.4303, allocations: 22.97 kB / 0.4894 GB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.4303, allocations: 2.25 kB / 0.4894 GB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.4303, allocations: 2.234 kB / 0.4894 GB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.4304, allocations: 1.172 kB / 0.4894 GB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003443/0.4307, allocations: 272.7 kB / 0.4896 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.4307, allocations: 0.6094 kB / 0.4896 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003895/0.4311, allocations: 102 kB / 0.4897 GB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.4311, allocations: 1.25 kB / 0.4897 GB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.4311, allocations: 6.422 kB / 0.4897 GB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.4311, allocations: 1.406 kB / 0.4898 GB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.4312, allocations: 1.188 kB / 0.4898 GB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003445/0.4315, allocations: 275.5 kB / 0.49 GB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.31e-05/0.4315, allocations: 93.92 kB / 0.4901 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.201e-05/0.4316, allocations: 10.88 kB / 0.4901 GB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.447e-05/0.4317, allocations: 6.75 kB / 0.4901 GB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.323e-05/0.4317, allocations: 20.69 kB / 0.4901 GB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.4317, allocations: 5.844 kB / 0.4901 GB, free: 13.21 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.464e-05/0.4318, allocations: 89.78 kB / 0.4902 GB, free: 13.13 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4318, allocations: 0 / 0.4902 GB, free: 13.13 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002722/0.4321, allocations: 42.47 kB / 0.4903 GB, free: 13.12 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (27): * Single equations (assignments): 27 * 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.0001123/0.4322, allocations: 104.7 kB / 0.4904 GB, free: 13.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003202/0.4325, allocations: 134.9 kB / 0.4905 GB, free: 12.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.4325, allocations: 4 kB / 0.4905 GB, free: 12.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.4327, allocations: 82.06 kB / 0.4906 GB, free: 12.96 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.4329, allocations: 14.97 kB / 0.4906 GB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007716/0.4337, allocations: 472 kB / 0.491 GB, free: 12.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002233/0.4339, allocations: 0.7322 MB / 0.4918 GB, free: 11.96 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001002/0.434, allocations: 17.17 kB / 0.4918 GB, free: 11.96 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.659e-05/0.4341, allocations: 15.69 kB / 0.4918 GB, free: 11.95 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4341, allocations: 0 / 0.4918 GB, free: 11.95 MB / 382.1 MB Notification: Performance of Templates: time 0.004052/0.4382, allocations: 0.9758 MB / 0.4927 GB, free: 11.83 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1)