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.001338/0.001338, 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/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 223.2 MB / 238.9 MB, free: 5.641 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.001008/0.001008, allocations: 193 kB / 290.2 MB, free: 2.328 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03275/0.03275, allocations: 8.798 MB / 350.1 MB, free: 4.758 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004195/0.0004195, allocations: 9.562 kB / 413.1 MB, free: 43.08 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1152, allocations: 52.57 MB / 465.7 MB, free: 13.61 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.InitializationParameters): time 0.0007277/0.116, allocations: 234.2 kB / 465.9 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006031/0.1166, allocations: 288.3 kB / 466.2 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.478e-05/0.1167, allocations: 0 / 466.2 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.126e-05/0.1167, allocations: 3.938 kB / 466.2 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003787/0.1171, allocations: 43.94 kB / 466.2 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.236e-05/0.1172, allocations: 3.938 kB / 466.2 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.614e-05/0.1173, allocations: 23.91 kB / 466.2 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.215e-05/0.1173, allocations: 11.98 kB / 466.2 MB, free: 13 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.018e-05/0.1174, allocations: 7.984 kB / 466.3 MB, free: 13 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003357/0.1177, allocations: 71.84 kB / 466.3 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.1177, allocations: 4 kB / 466.3 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.566e-05/0.1178, allocations: 3.938 kB / 466.3 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.434e-05/0.1178, allocations: 19.92 kB / 466.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.984e-05/0.1179, allocations: 29.7 kB / 466.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.404e-05/0.1179, allocations: 23.97 kB / 466.4 MB, free: 12.84 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1179, allocations: 0 / 466.4 MB, free: 12.84 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.118, allocations: 4 kB / 466.4 MB, free: 12.84 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.118, allocations: 0 / 466.4 MB, free: 12.84 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.0005681/0.1186, allocations: 385.1 kB / 466.8 MB, free: 12.41 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.1186, allocations: 8.031 kB / 466.8 MB, free: 12.4 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.903e-05/0.1187, allocations: 87.14 kB / 466.9 MB, free: 12.31 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/0.1189, allocations: 250.3 kB / 467.1 MB, free: 12.03 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.333e-05/0.119, allocations: 154.6 kB / 467.3 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.301e-05/0.119, allocations: 158.5 kB / 467.4 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.745e-05/0.1191, allocations: 101 kB / 467.5 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.615e-05/0.1192, allocations: 75.28 kB / 467.6 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.631e-05/0.1192, allocations: 150.6 kB / 467.7 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-05/0.1193, allocations: 158.6 kB / 467.9 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.436e-05/0.1193, allocations: 158.5 kB / 468.1 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003175/0.1197, allocations: 465.9 kB / 468.5 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.63e-05/0.1198, allocations: 174.9 kB / 468.7 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.928e-05/0.1198, allocations: 75.28 kB / 468.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.971e-05/0.1199, allocations: 121.8 kB / 468.9 MB, free: 10.19 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 1.804e-06/0.1199, allocations: 0 / 468.9 MB, free: 10.19 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001077/0.12, allocations: 33.61 kB / 468.9 MB, free: 10.15 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.402e-05/0.1201, allocations: 130.6 kB / 469 MB, free: 10.01 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.0001975/0.1203, allocations: 151.6 kB / 469.2 MB, free: 9.855 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/0.1203, allocations: 25.7 kB / 469.2 MB, free: 9.824 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.204e-05/0.1204, allocations: 88.14 kB / 469.3 MB, free: 9.734 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.663e-06/0.1204, allocations: 4 kB / 469.3 MB, free: 9.73 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-06/0.1204, allocations: 0 / 469.3 MB, free: 9.73 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.1205, allocations: 322.8 kB / 469.6 MB, free: 9.406 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.955e-05/0.1206, allocations: 16 kB / 469.6 MB, free: 9.391 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.154e-05/0.1207, allocations: 53.12 kB / 469.7 MB, free: 9.32 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.659e-05/0.1208, allocations: 49.7 kB / 469.7 MB, free: 9.266 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.726e-06/0.1208, allocations: 0 / 469.7 MB, free: 9.266 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005581/0.1213, allocations: 331.1 kB / 470.1 MB, free: 8.887 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.6e-05/0.1214, allocations: 29.7 kB / 470.1 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.1214, allocations: 4 kB / 470.1 MB, free: 8.848 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002078/0.1216, allocations: 45.64 kB / 470.1 MB, free: 8.797 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002344/0.1219, allocations: 27.98 kB / 470.2 MB, free: 8.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003667/0.1255, allocations: 5.19 MB / 475.3 MB, free: 3.047 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.03e-05/0.1256, allocations: 19.95 kB / 475.4 MB, free: 3.027 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.1257, allocations: 7.938 kB / 475.4 MB, free: 3.02 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 (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001258/0.1258, allocations: 197.1 kB / 475.6 MB, free: 2.816 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.376e-05/0.1259, allocations: 117 kB / 475.7 MB, free: 2.695 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.732e-05/0.1259, allocations: 112.9 kB / 475.8 MB, free: 2.574 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-05/0.126, allocations: 180.2 kB / 476 MB, free: 2.391 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.414e-05/0.1261, allocations: 180.3 kB / 476.1 MB, free: 2.207 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.858e-05/0.1261, allocations: 184.2 kB / 476.3 MB, free: 2.02 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002682/0.1264, allocations: 421.2 kB / 476.7 MB, free: 1.551 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001103/0.1265, allocations: 105 kB / 476.8 MB, free: 1.441 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.303e-05/0.1266, allocations: 108.9 kB / 476.9 MB, free: 1.328 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.258e-05/0.1266, allocations: 180.3 kB / 477.1 MB, free: 1.145 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001578/0.1268, allocations: 180.2 kB / 477.3 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.704e-05/0.1269, allocations: 180.2 kB / 477.5 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001513/0.127, allocations: 188.2 kB / 477.7 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002756/0.1273, allocations: 308 kB / 478 MB, free: 268 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.914e-05/0.1274, allocations: 193.9 kB / 478.1 MB, free: 48 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.1275, allocations: 188.2 kB / 478.3 MB, free: 15.86 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.1276, allocations: 104.9 kB / 478.4 MB, free: 15.75 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.741e-05/0.1277, allocations: 180.3 kB / 478.6 MB, free: 15.56 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.696e-05/0.1277, allocations: 105 kB / 478.7 MB, free: 15.45 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.264e-05/0.1278, allocations: 113.6 kB / 478.8 MB, free: 15.34 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1278, allocations: 0 / 478.8 MB, free: 15.34 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003346/0.1282, allocations: 8 kB / 478.8 MB, free: 15.34 MB / 318.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 (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.000121/0.1283, allocations: 177.2 kB / 479 MB, free: 15.16 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000732/0.129, allocations: 352.7 kB / 479.3 MB, free: 14.77 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.1291, allocations: 0 / 479.3 MB, free: 14.77 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.184e-06/0.1291, allocations: 0 / 479.3 MB, free: 14.77 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002828/0.1293, allocations: 0.5267 MB / 479.9 MB, free: 14.24 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002822/0.1296, allocations: 219.5 kB / 480.1 MB, free: 14 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.1299, allocations: 0.6926 MB / 480.8 MB, free: 13.28 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.138e-05/0.13, allocations: 4 kB / 480.8 MB, free: 13.28 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.575e-05/0.13, allocations: 11.38 kB / 480.8 MB, free: 13.27 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.13, allocations: 0 / 480.8 MB, free: 13.27 MB / 318.1 MB Notification: Performance of Templates: time 0.002916/0.1329, allocations: 0.7245 MB / 481.5 MB, free: 12.54 MB / 318.1 MB make -j1 -f HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: