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.0009988/0.0009992, allocations: 97.41 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.008065/0.008065, allocations: 170.7 kB / 16.27 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.589/1.589, allocations: 205.4 MB / 222.4 MB, free: 5.801 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.3795/0.3795, allocations: 40 MB / 310.7 MB, free: 9.715 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.0005994/0.0005995, allocations: 12 kB / 379.4 MB, free: 12.3 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1233, allocations: 57.96 MB / 437.4 MB, free: 2.238 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.002653/0.126, allocations: 1.775 MB / 439.2 MB, free: 452 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002133/0.1282, allocations: 1.302 MB / 440.5 MB, free: 15.13 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001454/0.1284, allocations: 4 kB / 440.5 MB, free: 15.13 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.125e-05/0.1284, allocations: 19.78 kB / 440.5 MB, free: 15.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001583/0.1286, allocations: 15.86 kB / 440.5 MB, free: 15.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005609/0.1292, allocations: 155.4 kB / 440.7 MB, free: 14.94 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000226/0.1294, allocations: 172.1 kB / 440.8 MB, free: 14.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000232/0.1297, allocations: 95.58 kB / 440.9 MB, free: 14.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001569/0.1298, allocations: 51.67 kB / 441 MB, free: 14.63 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.1299, allocations: 71.55 kB / 441.1 MB, free: 14.56 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.13, allocations: 8 kB / 441.1 MB, free: 14.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003332/0.1303, allocations: 139.9 kB / 441.2 MB, free: 14.42 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.682e-05/0.1303, allocations: 27.8 kB / 441.2 MB, free: 14.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.1305, allocations: 101.2 kB / 441.3 MB, free: 14.29 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000467/0.1309, allocations: 291.3 kB / 441.6 MB, free: 14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.131, allocations: 0 / 441.6 MB, free: 14 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.131, allocations: 7.875 kB / 441.6 MB, free: 13.99 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.131, allocations: 0 / 441.6 MB, free: 13.99 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.0006085/0.1316, allocations: 491.3 kB / 442.1 MB, free: 13.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.1316, allocations: 12.03 kB / 442.1 MB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009263/0.1326, allocations: 60.7 kB / 442.2 MB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.1327, allocations: 188 kB / 442.4 MB, free: 13.17 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.923e-05/0.1328, allocations: 20.94 kB / 442.4 MB, free: 13.15 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.203e-05/0.1328, allocations: 28.12 kB / 442.4 MB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003681/0.1332, allocations: 208.9 kB / 442.6 MB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.1332, allocations: 0 / 442.6 MB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.231e-05/0.1332, allocations: 15.94 kB / 442.6 MB, free: 12.9 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.1332, allocations: 8 kB / 442.6 MB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002719/0.1335, allocations: 154.1 kB / 442.8 MB, free: 12.74 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008704/0.1344, allocations: 0.6005 MB / 443.4 MB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005174/0.1349, allocations: 227.4 kB / 443.6 MB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000132/0.1351, allocations: 73.3 kB / 443.7 MB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.1351, allocations: 4.234 kB / 443.7 MB, free: 11.78 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.1351, allocations: 38.8 kB / 443.7 MB, free: 11.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 1.262e-06/0.1351, allocations: 0 / 443.7 MB, free: 11.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004415/0.1356, allocations: 223.1 kB / 443.9 MB, free: 11.51 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.1356, allocations: 55.41 kB / 444 MB, free: 11.45 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.438e-05/0.1357, allocations: 101.8 kB / 444.1 MB, free: 11.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.1357, allocations: 33.7 kB / 444.1 MB, free: 11.3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.319e-05/0.1358, allocations: 132.5 kB / 444.2 MB, free: 11.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.947e-05/0.1359, allocations: 86.73 kB / 444.3 MB, free: 11.08 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.73e-05/0.1359, allocations: 25.72 kB / 444.4 MB, free: 11.05 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.136, allocations: 322.8 kB / 444.7 MB, free: 10.72 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.142e-05/0.1361, allocations: 47.95 kB / 444.7 MB, free: 10.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.693e-05/0.1362, allocations: 48.91 kB / 444.8 MB, free: 10.63 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002047/0.1364, allocations: 121.3 kB / 444.9 MB, free: 10.51 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.1365, allocations: 3.938 kB / 444.9 MB, free: 10.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002613/0.1367, allocations: 173.4 kB / 445.1 MB, free: 10.33 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.1368, allocations: 4 kB / 445.1 MB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1368, allocations: 0 / 445.1 MB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.1368, allocations: 7.984 kB / 445.1 MB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003424/0.1371, allocations: 107.9 kB / 445.2 MB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.1372, allocations: 0 / 445.2 MB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.732e-05/0.1372, allocations: 19.84 kB / 445.2 MB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.1373, allocations: 4 kB / 445.2 MB, free: 10.19 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.0001153/0.1374, allocations: 129.8 kB / 445.3 MB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.309e-05/0.1374, allocations: 11.91 kB / 445.3 MB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.049e-05/0.1375, allocations: 25.12 kB / 445.4 MB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.1375, allocations: 7.938 kB / 445.4 MB, free: 10 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.1375, allocations: 0 / 445.4 MB, free: 10 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.1375, allocations: 0 / 445.4 MB, free: 10 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002826/0.1378, allocations: 277.2 kB / 445.6 MB, free: 9.684 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1378, allocations: 0 / 445.6 MB, free: 9.684 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003267/0.1382, allocations: 107.9 kB / 445.7 MB, free: 9.578 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1382, allocations: 0 / 445.7 MB, free: 9.578 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.1382, allocations: 0 / 445.7 MB, free: 9.578 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.1382, allocations: 0 / 445.7 MB, free: 9.578 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1382, allocations: 4 kB / 445.7 MB, free: 9.574 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003075/0.1385, allocations: 283.5 kB / 446 MB, free: 9.281 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.336e-05/0.1386, allocations: 96.86 kB / 446.1 MB, free: 9.168 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.1386, allocations: 4 kB / 446.1 MB, free: 9.164 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.605e-05/0.1387, allocations: 8 kB / 446.1 MB, free: 9.156 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.035e-05/0.1388, allocations: 19.97 kB / 446.2 MB, free: 9.137 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.138e-06/0.1388, allocations: 4 kB / 446.2 MB, free: 9.133 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.792e-05/0.1388, allocations: 87.53 kB / 446.2 MB, free: 9.047 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1388, allocations: 0 / 446.2 MB, free: 9.047 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002634/0.1391, allocations: 47.78 kB / 446.3 MB, free: 9 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.0001143/0.1392, allocations: 107.1 kB / 446.4 MB, free: 8.883 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002833/0.1395, allocations: 139.9 kB / 446.5 MB, free: 8.746 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1395, allocations: 0 / 446.5 MB, free: 8.746 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.1397, allocations: 75.91 kB / 446.6 MB, free: 8.672 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.1399, allocations: 23.67 kB / 446.6 MB, free: 8.652 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007888/0.1407, allocations: 0.6147 MB / 447.2 MB, free: 8.012 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.141, allocations: 0.7361 MB / 448 MB, free: 7.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001088/0.1411, allocations: 17.41 kB / 448 MB, free: 7.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.245e-05/0.1412, allocations: 19.44 kB / 448 MB, free: 7.215 MB / 382.1 MB Notification: Performance of SimCode: time 2.154e-06/0.1412, allocations: 0 / 448 MB, free: 7.215 MB / 382.1 MB Notification: Performance of Templates: time 0.003385/0.1446, allocations: 0.8359 MB / 448.8 MB, free: 6.379 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: