Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Classes.MixedDeclaration.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.Classes.MixedDeclaration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Classes.MixedDeclaration") translateModel(HanserModelica.Classes.MixedDeclaration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Classes.MixedDeclaration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 90.52 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 223.3 MB / 239.4 MB, free: 5.508 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.001003/0.001003, allocations: 168.5 kB / 290.6 MB, free: 2.184 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03204/0.03204, allocations: 8.809 MB / 350.5 MB, free: 4.602 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005858/0.000586, allocations: 10.77 kB / 413.8 MB, free: 42.77 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1324, allocations: 52.56 MB / 466.4 MB, free: 13.15 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.MixedDeclaration): time 0.001582/0.134, allocations: 0.9939 MB / 467.4 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 6.065e-05/0.1341, allocations: 11.91 kB / 467.4 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.792e-05/0.1342, allocations: 0 / 467.4 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.557e-05/0.1342, allocations: 0 / 467.4 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.415e-05/0.1343, allocations: 0 / 467.4 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.571e-05/0.1343, allocations: 0 / 467.4 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.998e-05/0.1344, allocations: 11.94 kB / 467.4 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.799e-05/0.1345, allocations: 8 kB / 467.4 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.291e-05/0.1345, allocations: 3.938 kB / 467.4 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.927e-05/0.1345, allocations: 0 / 467.4 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.1346, allocations: 0 / 467.4 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.096e-06/0.1346, allocations: 4 kB / 467.4 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.496e-05/0.1346, allocations: 0 / 467.4 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.171e-05/0.1346, allocations: 29.64 kB / 467.4 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 5.049e-05/0.1347, allocations: 15.91 kB / 467.4 MB, free: 12.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1347, allocations: 0 / 467.4 MB, free: 12.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.1347, allocations: 0 / 467.4 MB, free: 12.05 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.1347, allocations: 0 / 467.4 MB, free: 12.05 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004752/0.1352, allocations: 323.8 kB / 467.8 MB, free: 11.68 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.1353, allocations: 8.031 kB / 467.8 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.007e-05/0.1353, allocations: 4.875 kB / 467.8 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.1355, allocations: 172.3 kB / 467.9 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.1355, allocations: 384 / 467.9 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.1355, allocations: 384 / 467.9 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.507e-05/0.1356, allocations: 51.91 kB / 468 MB, free: 11.4 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.1356, allocations: 4.188 kB / 468 MB, free: 11.4 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.1356, allocations: 3.938 kB / 468 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1356, allocations: 0 / 468 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.332e-05/0.1357, allocations: 8 kB / 468 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004643/0.1361, allocations: 467.6 kB / 468.5 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.997e-05/0.1362, allocations: 181.1 kB / 468.6 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.842e-05/0.1363, allocations: 80.14 kB / 468.7 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.46e-05/0.1363, allocations: 75.28 kB / 468.8 MB, free: 10.53 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.151e-05/0.1364, allocations: 105.8 kB / 468.9 MB, free: 10.42 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.1364, allocations: 0 / 468.9 MB, free: 10.42 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 7.719e-05/0.1364, allocations: 37.62 kB / 468.9 MB, free: 10.38 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.973e-05/0.1365, allocations: 134.7 kB / 469.1 MB, free: 10.23 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.806e-05/0.1366, allocations: 101.8 kB / 469.2 MB, free: 10.12 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.1366, allocations: 29.7 kB / 469.2 MB, free: 10.09 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.925e-05/0.1367, allocations: 84.12 kB / 469.3 MB, free: 10 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.126e-06/0.1367, allocations: 0 / 469.3 MB, free: 10 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.053e-05/0.1367, allocations: 9.719 kB / 469.3 MB, free: 9.984 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.1368, allocations: 314.8 kB / 469.6 MB, free: 9.668 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.687e-06/0.1369, allocations: 4 kB / 469.6 MB, free: 9.664 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.558e-05/0.1369, allocations: 13.72 kB / 469.6 MB, free: 9.645 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.117e-05/0.1369, allocations: 17.66 kB / 469.6 MB, free: 9.621 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.696e-06/0.1369, allocations: 3.938 kB / 469.6 MB, free: 9.617 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001367/0.1371, allocations: 49.59 kB / 469.7 MB, free: 9.562 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.1371, allocations: 4 kB / 469.7 MB, free: 9.559 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1371, allocations: 0 / 469.7 MB, free: 9.559 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.1371, allocations: 4.125 kB / 469.7 MB, free: 9.555 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.19e-05/0.1372, allocations: 7.938 kB / 469.7 MB, free: 9.547 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.1372, allocations: 0 / 469.7 MB, free: 9.547 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.276e-05/0.1372, allocations: 4 kB / 469.7 MB, free: 9.543 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.1372, allocations: 3.984 kB / 469.7 MB, free: 9.539 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 9.875e-05/0.1373, allocations: 200.9 kB / 469.9 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.709e-05/0.1374, allocations: 108.9 kB / 470 MB, free: 9.219 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001312/0.1375, allocations: 108 kB / 470.1 MB, free: 9.105 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.227e-05/0.1376, allocations: 180.3 kB / 470.3 MB, free: 8.922 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.006e-05/0.1377, allocations: 180.3 kB / 470.5 MB, free: 8.738 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002007/0.1379, allocations: 184.2 kB / 470.6 MB, free: 8.551 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004207/0.1383, allocations: 401.2 kB / 471 MB, free: 8.102 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.548e-05/0.1384, allocations: 108.9 kB / 471.1 MB, free: 7.988 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.805e-05/0.1384, allocations: 109 kB / 471.2 MB, free: 7.875 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.338e-05/0.1385, allocations: 180.3 kB / 471.4 MB, free: 7.691 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001231/0.1386, allocations: 180.2 kB / 471.6 MB, free: 7.508 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001459/0.1388, allocations: 180.3 kB / 471.8 MB, free: 7.324 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.002e-05/0.1388, allocations: 180.2 kB / 471.9 MB, free: 7.141 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002167/0.1391, allocations: 316 kB / 472.3 MB, free: 6.809 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.005e-05/0.1391, allocations: 182 kB / 472.4 MB, free: 6.605 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001468/0.1393, allocations: 184.3 kB / 472.6 MB, free: 6.418 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.234e-05/0.1394, allocations: 108.9 kB / 472.7 MB, free: 6.305 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.546e-05/0.1395, allocations: 176.5 kB / 472.9 MB, free: 6.125 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.581e-05/0.1395, allocations: 105 kB / 473 MB, free: 6.016 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.667e-05/0.1396, allocations: 91.22 kB / 473.1 MB, free: 5.926 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1396, allocations: 0 / 473.1 MB, free: 5.926 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002849/0.1398, allocations: 4 kB / 473.1 MB, free: 5.922 MB / 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.0001183/0.14, allocations: 170.5 kB / 473.3 MB, free: 5.742 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 6.93e-05/0.14, allocations: 8 kB / 473.3 MB, free: 5.734 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.1401, allocations: 0 / 473.3 MB, free: 5.734 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.643e-06/0.1401, allocations: 4.125 kB / 473.3 MB, free: 5.73 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003987/0.1405, allocations: 0.5224 MB / 473.8 MB, free: 5.203 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002318/0.1407, allocations: 169.8 kB / 474 MB, free: 5.008 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003096/0.141, allocations: 0.677 MB / 474.6 MB, free: 4.305 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.788e-05/0.1411, allocations: 4 kB / 474.6 MB, free: 4.301 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.589e-05/0.1411, allocations: 7.438 kB / 474.6 MB, free: 4.293 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1411, allocations: 0 / 474.6 MB, free: 4.293 MB / 302.1 MB Notification: Performance of Templates: time 0.001818/0.1429, allocations: 189.2 kB / 474.8 MB, free: 4.109 MB / 302.1 MB make -j1 -f HanserModelica_HanserModelica.Classes.MixedDeclaration.makefile Environment - environmentSimulation: (rm -f HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe ; mkfifo HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe >> ../files/HanserModelica_HanserModelica.Classes.MixedDeclaration.sim & ./HanserModelica_HanserModelica.Classes.MixedDeclaration -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe 2>&1) Environment - environmentSimulation: