Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.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/Modelica 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/HanserModelica 2.0.0-master/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.VariablesTypes.InitializationParameters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.InitializationParameters") translateModel(HanserModelica.VariablesTypes.InitializationParameters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.InitializationParameters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001652/0.001652, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.31/2.31, allocations: 222.9 MB / 239.5 MB, free: 4.746 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002456/0.002456, allocations: 196.5 kB / 289.8 MB, free: 2.492 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.05502/0.05502, allocations: 8.793 MB / 348.7 MB, free: 4.914 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002699/0.002699, allocations: 80.33 kB / 411 MB, free: 42.33 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1311, allocations: 51.56 MB / 462.6 MB, free: 14.94 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.InitializationParameters): time 0.002714/0.1339, allocations: 0.5704 MB / 463.2 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009353/0.1349, allocations: 305.7 kB / 463.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.336e-05/0.1349, allocations: 0 / 463.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.114e-05/0.135, allocations: 3.938 kB / 463.5 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000455/0.1355, allocations: 47.89 kB / 463.5 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.921e-05/0.1356, allocations: 15.97 kB / 463.5 MB, free: 14 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.476e-05/0.1357, allocations: 31.86 kB / 463.6 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.904e-05/0.1358, allocations: 0 / 463.6 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.96e-05/0.1358, allocations: 15.98 kB / 463.6 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003872/0.1362, allocations: 67.86 kB / 463.7 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.086e-05/0.1363, allocations: 0 / 463.7 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.299e-05/0.1363, allocations: 4 kB / 463.7 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.886e-05/0.1364, allocations: 19.92 kB / 463.7 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.137e-05/0.1365, allocations: 15.86 kB / 463.7 MB, free: 13.85 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.602e-05/0.1366, allocations: 31.97 kB / 463.7 MB, free: 13.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1366, allocations: 3.938 kB / 463.7 MB, free: 13.81 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1366, allocations: 0 / 463.7 MB, free: 13.81 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.1366, allocations: 0 / 463.7 MB, free: 13.81 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0007347/0.1373, allocations: 385.3 kB / 464.1 MB, free: 13.38 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.1374, allocations: 12.03 kB / 464.1 MB, free: 13.37 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.927e-05/0.1375, allocations: 88.11 kB / 464.2 MB, free: 13.28 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002431/0.1378, allocations: 251.6 kB / 464.5 MB, free: 13 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.713e-05/0.1378, allocations: 158.9 kB / 464.6 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.093e-05/0.1379, allocations: 150.9 kB / 464.8 MB, free: 12.69 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.733e-05/0.138, allocations: 105.5 kB / 464.9 MB, free: 12.58 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.032e-05/0.1381, allocations: 75.47 kB / 464.9 MB, free: 12.51 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.177e-05/0.1382, allocations: 158.5 kB / 465.1 MB, free: 12.35 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.937e-05/0.1382, allocations: 154.5 kB / 465.2 MB, free: 12.2 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.961e-05/0.1383, allocations: 154.5 kB / 465.4 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004202/0.1387, allocations: 473.8 kB / 465.9 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.1389, allocations: 173.1 kB / 466 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.456e-05/0.1389, allocations: 84.14 kB / 466.1 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.525e-05/0.139, allocations: 75.28 kB / 466.2 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.137e-05/0.139, allocations: 109.8 kB / 466.3 MB, free: 11.08 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 1.233e-06/0.139, allocations: 0 / 466.3 MB, free: 11.08 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001177/0.1392, allocations: 41.55 kB / 466.3 MB, free: 11.03 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.684e-05/0.1393, allocations: 126.7 kB / 466.4 MB, free: 10.89 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/VariablesTypes/InitializationParameters.mo:5:3-5:28:writable] Warning: Parameter b has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002546/0.1395, allocations: 155.6 kB / 466.6 MB, free: 10.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.1396, allocations: 25.7 kB / 466.6 MB, free: 10.7 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.256e-05/0.1396, allocations: 88.14 kB / 466.7 MB, free: 10.61 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.654e-06/0.1397, allocations: 3.938 kB / 466.7 MB, free: 10.61 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.51e-05/0.1397, allocations: 33.69 kB / 466.7 MB, free: 10.57 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.1399, allocations: 314.8 kB / 467.1 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.546e-05/0.14, allocations: 19.98 kB / 467.1 MB, free: 10.23 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.987e-05/0.1401, allocations: 61.06 kB / 467.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001724/0.1403, allocations: 94.78 kB / 467.2 MB, free: 10.04 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.1403, allocations: 0 / 467.2 MB, free: 10.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006943/0.141, allocations: 323 kB / 467.5 MB, free: 9.668 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.684e-05/0.141, allocations: 37.69 kB / 467.6 MB, free: 9.625 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.1411, allocations: 192 / 467.6 MB, free: 9.625 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002898/0.1414, allocations: 49.62 kB / 467.6 MB, free: 9.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003389/0.1417, allocations: 23.98 kB / 467.7 MB, free: 9.547 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0051/0.1468, allocations: 5.177 MB / 472.8 MB, free: 3.836 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/0.147, allocations: 8.219 kB / 472.8 MB, free: 3.828 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.256e-05/0.1471, allocations: 8 kB / 472.8 MB, free: 3.82 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (6): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001881/0.1473, allocations: 205.6 kB / 473 MB, free: 3.609 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.423e-05/0.1474, allocations: 112.9 kB / 473.2 MB, free: 3.492 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.761e-05/0.1474, allocations: 108.8 kB / 473.3 MB, free: 3.375 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.008e-05/0.1475, allocations: 184.3 kB / 473.4 MB, free: 3.188 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.713e-05/0.1476, allocations: 180.3 kB / 473.6 MB, free: 3.004 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.471e-05/0.1477, allocations: 184.2 kB / 473.8 MB, free: 2.816 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003443/0.1481, allocations: 413.2 kB / 474.2 MB, free: 2.355 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.983e-05/0.1481, allocations: 108.9 kB / 474.3 MB, free: 2.242 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.354e-05/0.1482, allocations: 101 kB / 474.4 MB, free: 2.137 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.682e-05/0.1483, allocations: 184.3 kB / 474.6 MB, free: 1.949 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.585e-05/0.1484, allocations: 184.2 kB / 474.8 MB, free: 1.762 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.223e-05/0.1485, allocations: 180.5 kB / 474.9 MB, free: 1.578 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.393e-05/0.1486, allocations: 180.2 kB / 475.1 MB, free: 1.395 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001986/0.1488, allocations: 315.7 kB / 475.4 MB, free: 1.062 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.1489, allocations: 194 kB / 475.6 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.802e-05/0.149, allocations: 180.3 kB / 475.8 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.1491, allocations: 112.9 kB / 475.9 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.378e-05/0.1492, allocations: 184.2 kB / 476.1 MB, free: 368 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.136e-05/0.1493, allocations: 101 kB / 476.2 MB, free: 260 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000121/0.1494, allocations: 117.3 kB / 476.3 MB, free: 144 kB / 302.1 MB Notification: Performance of sort global known variables: time 2.404e-06/0.1495, allocations: 0 / 476.3 MB, free: 144 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005553/0.15, allocations: 23.88 kB / 476.3 MB, free: 120 kB / 302.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 (0): * Single equations (assignments): 0 * 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.000184/0.1502, allocations: 170.6 kB / 476.5 MB, free: 15.94 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009664/0.1512, allocations: 340.8 kB / 476.8 MB, free: 15.57 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.1512, allocations: 0 / 476.8 MB, free: 15.57 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.931e-06/0.1512, allocations: 4 kB / 476.8 MB, free: 15.57 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000601/0.1518, allocations: 0.5185 MB / 477.3 MB, free: 15.04 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004914/0.1523, allocations: 261.7 kB / 477.6 MB, free: 14.75 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/0.1527, allocations: 0.6887 MB / 478.3 MB, free: 14.04 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.948e-05/0.1528, allocations: 11.44 kB / 478.3 MB, free: 14.03 MB / 318.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1528, allocations: 0 / 478.3 MB, free: 14.03 MB / 318.1 MB Notification: Performance of Templates: time 0.004109/0.1569, allocations: 1.112 MB / 479.4 MB, free: 12.91 MB / 318.1 MB make -j1 -f HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.makefile (rm -f HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.sim & ./HanserModelica_HanserModelica.VariablesTypes.InitializationParameters -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.pipe 2>&1)