Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.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.ComplexCalculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation") translateModel(HanserModelica.VariablesTypes.ComplexCalculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.594/1.594, allocations: 223.2 MB / 238.9 MB, free: 5.477 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.001536/0.001536, allocations: 193 kB / 290.2 MB, free: 2.168 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03549/0.03549, allocations: 8.798 MB / 350.1 MB, free: 4.719 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005361/0.0005361, allocations: 11.23 kB / 413.1 MB, free: 43.06 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1231, allocations: 52.56 MB / 465.6 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.ComplexCalculation): time 0.001704/0.1248, allocations: 1.062 MB / 466.7 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.126, allocations: 0.76 MB / 467.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.991e-05/0.126, allocations: 0 / 467.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002683/0.1263, allocations: 67.75 kB / 467.5 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.437e-05/0.1264, allocations: 11.91 kB / 467.5 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006946/0.1271, allocations: 366.8 kB / 467.9 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001222/0.1272, allocations: 23.97 kB / 467.9 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.544e-05/0.1273, allocations: 7.969 kB / 467.9 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.35e-05/0.1273, allocations: 19.92 kB / 468 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.502e-05/0.1274, allocations: 11.94 kB / 468 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.806e-06/0.1274, allocations: 0 / 468 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002286/0.1276, allocations: 99.86 kB / 468.1 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.072e-05/0.1277, allocations: 7.938 kB / 468.1 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.49e-05/0.1277, allocations: 29.7 kB / 468.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001695/0.1279, allocations: 88.08 kB / 468.2 MB, free: 11.01 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.1279, allocations: 0 / 468.2 MB, free: 11.01 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.1279, allocations: 0 / 468.2 MB, free: 11.01 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.429e-06/0.1279, allocations: 0 / 468.2 MB, free: 11.01 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008827/0.1288, allocations: 423.1 kB / 468.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.1288, allocations: 12.03 kB / 468.6 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.297e-05/0.1289, allocations: 7.859 kB / 468.6 MB, free: 10.53 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.129, allocations: 163.1 kB / 468.8 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.129, allocations: 0 / 468.8 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/0.129, allocations: 11.92 kB / 468.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.1291, allocations: 49.69 kB / 468.8 MB, free: 10.26 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.1292, allocations: 0 / 468.8 MB, free: 10.26 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.1292, allocations: 4 kB / 468.8 MB, free: 10.26 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.1292, allocations: 4 kB / 468.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.317e-05/0.1293, allocations: 35.94 kB / 468.9 MB, free: 10.22 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001868/0.1295, allocations: 189.6 kB / 469.1 MB, free: 9.984 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000199/0.1297, allocations: 66.56 kB / 469.1 MB, free: 9.91 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.1297, allocations: 3.938 kB / 469.1 MB, free: 9.906 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.1297, allocations: 30.56 kB / 469.2 MB, free: 9.867 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.1298, allocations: 0 / 469.2 MB, free: 9.867 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002312/0.13, allocations: 113.9 kB / 469.3 MB, free: 9.75 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.13, allocations: 51.41 kB / 469.3 MB, free: 9.688 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.007e-05/0.1301, allocations: 105.8 kB / 469.4 MB, free: 9.574 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.1301, allocations: 25.7 kB / 469.5 MB, free: 9.543 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.188e-05/0.1302, allocations: 84.12 kB / 469.5 MB, free: 9.457 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.054e-05/0.1302, allocations: 19.75 kB / 469.6 MB, free: 9.438 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.469e-06/0.1302, allocations: 0 / 469.6 MB, free: 9.438 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.1303, allocations: 318.8 kB / 469.9 MB, free: 9.117 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.715e-05/0.1304, allocations: 23.98 kB / 469.9 MB, free: 9.094 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.564e-05/0.1304, allocations: 19.94 kB / 469.9 MB, free: 9.074 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.534e-05/0.1305, allocations: 20 kB / 469.9 MB, free: 9.055 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1305, allocations: 0 / 469.9 MB, free: 9.055 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001231/0.1306, allocations: 81.59 kB / 470 MB, free: 8.969 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.1306, allocations: 8 kB / 470 MB, free: 8.961 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.1307, allocations: 0 / 470 MB, free: 8.961 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.117e-06/0.1307, allocations: 0 / 470 MB, free: 8.961 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.1308, allocations: 11.98 kB / 470 MB, free: 8.949 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.1308, allocations: 0 / 470 MB, free: 8.949 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.449e-05/0.1308, allocations: 4 kB / 470 MB, free: 8.945 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.1309, allocations: 4 kB / 470 MB, free: 8.941 MB / 302.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 (6): * Single equations (assignments): 6 * 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 7.313e-05/0.1309, allocations: 117.7 kB / 470.1 MB, free: 8.816 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.244e-05/0.1309, allocations: 4 kB / 470.2 MB, free: 8.812 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002016/0.1312, allocations: 109.9 kB / 470.3 MB, free: 8.695 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.1312, allocations: 0 / 470.3 MB, free: 8.695 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1312, allocations: 0 / 470.3 MB, free: 8.695 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.1312, allocations: 0 / 470.3 MB, free: 8.695 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.1313, allocations: 189.6 kB / 470.4 MB, free: 8.461 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1313, allocations: 4 kB / 470.4 MB, free: 8.457 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.349e-05/0.1314, allocations: 8 kB / 470.5 MB, free: 8.449 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.1314, allocations: 4 kB / 470.5 MB, free: 8.445 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.1315, allocations: 3.984 kB / 470.5 MB, free: 8.441 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.624e-06/0.1315, allocations: 3.938 kB / 470.5 MB, free: 8.438 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1315, allocations: 0.5 kB / 470.5 MB, free: 8.438 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001523/0.1316, allocations: 117 kB / 470.6 MB, free: 8.305 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.348e-05/0.1317, allocations: 81.05 kB / 470.7 MB, free: 8.207 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.1317, allocations: 7.938 kB / 470.7 MB, free: 8.199 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.236e-05/0.1318, allocations: 12 kB / 470.7 MB, free: 8.188 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.716e-05/0.1318, allocations: 7.922 kB / 470.7 MB, free: 8.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.1318, allocations: 4 kB / 470.7 MB, free: 8.176 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.646e-05/0.1318, allocations: 83.28 kB / 470.8 MB, free: 8.094 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1318, allocations: 0 / 470.8 MB, free: 8.094 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001947/0.132, allocations: 12 kB / 470.8 MB, free: 8.082 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 (8): * Single equations (assignments): 8 * 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.0001343/0.1322, allocations: 119.7 kB / 470.9 MB, free: 7.957 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001284/0.1323, allocations: 51.92 kB / 471 MB, free: 7.906 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1323, allocations: 0 / 471 MB, free: 7.906 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.726e-05/0.1324, allocations: 28 kB / 471 MB, free: 7.879 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001022/0.1325, allocations: 7.953 kB / 471 MB, free: 7.871 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003164/0.1328, allocations: 202.4 kB / 471.2 MB, free: 7.645 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002227/0.133, allocations: 0.6848 MB / 471.9 MB, free: 6.934 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.253e-05/0.1331, allocations: 8 kB / 471.9 MB, free: 6.926 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.106e-05/0.1331, allocations: 11.44 kB / 471.9 MB, free: 6.918 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1331, allocations: 0 / 471.9 MB, free: 6.918 MB / 302.1 MB Notification: Performance of Templates: time 0.002672/0.1358, allocations: 0.7303 MB / 472.6 MB, free: 6.188 MB / 302.1 MB make -j1 -f HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.makefile Environment - environmentSimulation: (rm -f HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.sim & ./HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe 2>&1) Environment - environmentSimulation: