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.001072/0.001072, allocations: 99.86 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.001364/0.001365, 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.422/1.422, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.2966/0.2966, allocations: 39.99 MB / 310.4 MB, free: 9.684 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.0005526/0.0005529, allocations: 16 kB / 378.8 MB, free: 12.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1122, allocations: 57.96 MB / 436.8 MB, free: 2.305 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.002017/0.1143, allocations: 1.725 MB / 438.5 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001683/0.116, allocations: 1.151 MB / 439.6 MB, free: 15.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.1161, allocations: 0 / 439.6 MB, free: 15.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.034e-05/0.1162, allocations: 15.86 kB / 439.7 MB, free: 15.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001242/0.1163, allocations: 35.88 kB / 439.7 MB, free: 15.35 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004419/0.1168, allocations: 151.6 kB / 439.8 MB, free: 15.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001666/0.1169, allocations: 108.4 kB / 439.9 MB, free: 15.1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001836/0.1171, allocations: 81.55 kB / 440 MB, free: 15.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.1173, allocations: 59.64 kB / 440.1 MB, free: 14.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.945e-05/0.1174, allocations: 63.64 kB / 440.1 MB, free: 14.9 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.1174, allocations: 8 kB / 440.1 MB, free: 14.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003114/0.1177, allocations: 123.9 kB / 440.3 MB, free: 14.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.891e-05/0.1177, allocations: 31.84 kB / 440.3 MB, free: 14.74 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.915e-05/0.1178, allocations: 53.58 kB / 440.4 MB, free: 14.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003046/0.1181, allocations: 211.7 kB / 440.6 MB, free: 14.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.1181, allocations: 0 / 440.6 MB, free: 14.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1181, allocations: 0 / 440.6 MB, free: 14.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.1181, allocations: 0 / 440.6 MB, free: 14.48 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.0005386/0.1187, allocations: 0.4912 MB / 441.1 MB, free: 13.94 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.1187, allocations: 8.031 kB / 441.1 MB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008059/0.1195, allocations: 71.72 kB / 441.1 MB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.1197, allocations: 186.8 kB / 441.3 MB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.644e-05/0.1197, allocations: 20.56 kB / 441.3 MB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.289e-05/0.1197, allocations: 27.94 kB / 441.4 MB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003229/0.1201, allocations: 196.9 kB / 441.6 MB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.108e-06/0.1201, allocations: 0 / 441.6 MB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.1201, allocations: 11.98 kB / 441.6 MB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.1201, allocations: 8 kB / 441.6 MB, free: 13.37 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002544/0.1204, allocations: 154.1 kB / 441.7 MB, free: 13.22 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000808/0.1212, allocations: 0.5851 MB / 442.3 MB, free: 12.58 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004791/0.1217, allocations: 223.4 kB / 442.5 MB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.1217, allocations: 8.156 kB / 442.5 MB, free: 12.35 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.1218, allocations: 38.8 kB / 442.6 MB, free: 12.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 1.373e-06/0.1218, allocations: 0 / 442.6 MB, free: 12.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004192/0.1222, allocations: 223.5 kB / 442.8 MB, free: 12.08 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.1222, allocations: 55.41 kB / 442.8 MB, free: 12.01 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.06e-05/0.1223, allocations: 105.8 kB / 442.9 MB, free: 11.9 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.1223, allocations: 29.7 kB / 443 MB, free: 11.86 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.214e-05/0.1224, allocations: 132.5 kB / 443.1 MB, free: 11.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.054e-05/0.1225, allocations: 86.67 kB / 443.2 MB, free: 11.64 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.334e-06/0.1225, allocations: 4 kB / 443.2 MB, free: 11.64 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.1226, allocations: 326.8 kB / 443.5 MB, free: 11.31 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.188e-05/0.1227, allocations: 43.97 kB / 443.6 MB, free: 11.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.3e-05/0.1228, allocations: 60.77 kB / 443.6 MB, free: 11.21 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/0.1229, allocations: 52.45 kB / 443.7 MB, free: 11.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1229, allocations: 0 / 443.7 MB, free: 11.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002591/0.1232, allocations: 169.5 kB / 443.8 MB, free: 10.99 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.1232, allocations: 4 kB / 443.8 MB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.1232, allocations: 0 / 443.8 MB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.1233, allocations: 0 / 443.8 MB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003537/0.1236, allocations: 107.9 kB / 443.9 MB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.1236, allocations: 4.25 kB / 443.9 MB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.98e-05/0.1237, allocations: 15.84 kB / 444 MB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.1237, allocations: 8 kB / 444 MB, free: 10.85 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.86e-05/0.1238, allocations: 137.7 kB / 444.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.101e-05/0.1239, allocations: 7.906 kB / 444.1 MB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.121e-05/0.1239, allocations: 25.12 kB / 444.1 MB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.124, allocations: 3.984 kB / 444.1 MB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.124, allocations: 0 / 444.1 MB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.124, allocations: 8 kB / 444.1 MB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002673/0.1242, allocations: 273.3 kB / 444.4 MB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.1243, allocations: 0 / 444.4 MB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003357/0.1246, allocations: 99.94 kB / 444.5 MB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.1246, allocations: 4 kB / 444.5 MB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.1246, allocations: 4 kB / 444.5 MB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.1246, allocations: 3.938 kB / 444.5 MB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1246, allocations: 4 kB / 444.5 MB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000306/0.125, allocations: 275.3 kB / 444.8 MB, free: 9.945 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.92e-05/0.125, allocations: 92.86 kB / 444.9 MB, free: 9.836 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.145e-05/0.125, allocations: 8 kB / 444.9 MB, free: 9.828 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.715e-05/0.1251, allocations: 4 kB / 444.9 MB, free: 9.824 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.28e-05/0.1252, allocations: 19.97 kB / 444.9 MB, free: 9.805 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.1252, allocations: 8 kB / 444.9 MB, free: 9.797 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.55e-05/0.1252, allocations: 79.28 kB / 445 MB, free: 9.719 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1253, allocations: 4 kB / 445 MB, free: 9.715 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002651/0.1255, allocations: 43.84 kB / 445 MB, free: 9.672 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 (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.0001196/0.1256, allocations: 111 kB / 445.2 MB, free: 9.551 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002975/0.126, allocations: 144.3 kB / 445.3 MB, free: 9.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.126, allocations: 0 / 445.3 MB, free: 9.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.1261, allocations: 79.84 kB / 445.4 MB, free: 9.332 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000146/0.1262, allocations: 4 kB / 445.4 MB, free: 9.328 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007852/0.127, allocations: 0.5991 MB / 446 MB, free: 8.703 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/0.1274, allocations: 0.7363 MB / 446.7 MB, free: 7.941 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001056/0.1275, allocations: 13.42 kB / 446.7 MB, free: 7.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.969e-05/0.1275, allocations: 19.44 kB / 446.7 MB, free: 7.91 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1275, allocations: 0 / 446.7 MB, free: 7.91 MB / 382.1 MB Notification: Performance of Templates: time 0.003181/0.1307, allocations: 0.8159 MB / 447.6 MB, free: 7.094 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: