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.0009983/0.0009978, allocations: 86.09 kB / 15.06 MB, free: 1.09 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.383/1.383, allocations: 223.3 MB / 239 MB, free: 5.453 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.0009616/0.0009616, allocations: 188.4 kB / 290.3 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.05099/0.05099, allocations: 8.793 MB / 350.2 MB, free: 4.703 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003697/0.0003698, allocations: 10 kB / 413.2 MB, free: 43.07 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1054, allocations: 52.56 MB / 465.8 MB, free: 13.53 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.InitializationParameters): time 0.0008277/0.1063, allocations: 234.2 kB / 466 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007035/0.107, allocations: 288.3 kB / 466.3 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.08e-05/0.1071, allocations: 0 / 466.3 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.171e-05/0.1071, allocations: 0 / 466.3 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003133/0.1074, allocations: 55.83 kB / 466.3 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.42e-05/0.1075, allocations: 7.984 kB / 466.3 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.169e-05/0.1076, allocations: 19.92 kB / 466.3 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.4e-05/0.1076, allocations: 8 kB / 466.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.203e-05/0.1077, allocations: 19.91 kB / 466.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002985/0.108, allocations: 71.91 kB / 466.4 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.108, allocations: 0 / 466.4 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.221e-05/0.108, allocations: 0 / 466.4 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.694e-05/0.1081, allocations: 19.86 kB / 466.5 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.507e-05/0.1081, allocations: 29.7 kB / 466.5 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 5.272e-05/0.1082, allocations: 19.98 kB / 466.5 MB, free: 12.76 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1082, allocations: 4 kB / 466.5 MB, free: 12.76 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1082, allocations: 0 / 466.5 MB, free: 12.76 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.1082, allocations: 0 / 466.5 MB, free: 12.76 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.0004827/0.1087, allocations: 385.1 kB / 466.9 MB, free: 12.33 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.1087, allocations: 12.03 kB / 466.9 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.429e-05/0.1088, allocations: 87.14 kB / 467 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000208/0.109, allocations: 260.6 kB / 467.2 MB, free: 11.94 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.059e-05/0.1091, allocations: 166.5 kB / 467.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.32e-05/0.1092, allocations: 150.6 kB / 467.6 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.316e-05/0.1092, allocations: 105 kB / 467.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.211e-05/0.1093, allocations: 79.28 kB / 467.7 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.827e-05/0.1093, allocations: 150.6 kB / 467.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-05/0.1094, allocations: 158.5 kB / 468 MB, free: 11.13 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.359e-05/0.1095, allocations: 158.5 kB / 468.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003388/0.1098, allocations: 465.9 kB / 468.6 MB, free: 10.47 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.639e-05/0.1099, allocations: 165.1 kB / 468.8 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.927e-05/0.11, allocations: 88.14 kB / 468.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/0.11, allocations: 75.28 kB / 469 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.363e-05/0.1101, allocations: 105.8 kB / 469.1 MB, free: 10.02 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.1101, allocations: 0 / 469.1 MB, free: 10.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 9.195e-05/0.1102, allocations: 37.55 kB / 469.1 MB, free: 9.98 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.303e-05/0.1102, allocations: 126.7 kB / 469.2 MB, free: 9.844 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.0002072/0.1105, allocations: 157.9 kB / 469.4 MB, free: 9.676 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.1105, allocations: 25.7 kB / 469.4 MB, free: 9.645 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.977e-05/0.1105, allocations: 92.12 kB / 469.5 MB, free: 9.551 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.294e-06/0.1106, allocations: 0 / 469.5 MB, free: 9.551 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.332e-06/0.1106, allocations: 4 kB / 469.5 MB, free: 9.547 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.1107, allocations: 314.8 kB / 469.8 MB, free: 9.23 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.886e-05/0.1108, allocations: 15.98 kB / 469.8 MB, free: 9.215 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.288e-05/0.1108, allocations: 57.14 kB / 469.9 MB, free: 9.141 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.559e-05/0.1109, allocations: 53.62 kB / 469.9 MB, free: 9.082 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1109, allocations: 0 / 469.9 MB, free: 9.082 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004908/0.1114, allocations: 323.2 kB / 470.3 MB, free: 8.711 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.071e-05/0.1115, allocations: 39.38 kB / 470.3 MB, free: 8.668 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.1115, allocations: 0 / 470.3 MB, free: 8.668 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001909/0.1117, allocations: 45.69 kB / 470.3 MB, free: 8.617 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002075/0.1119, allocations: 35.97 kB / 470.4 MB, free: 8.582 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003342/0.1152, allocations: 5.162 MB / 475.5 MB, free: 2.887 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.059e-05/0.1153, allocations: 8 kB / 475.5 MB, free: 2.879 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.1153, allocations: 7.938 kB / 475.5 MB, free: 2.871 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.0001334/0.1155, allocations: 205.8 kB / 475.7 MB, free: 2.66 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.379e-05/0.1156, allocations: 112.9 kB / 475.9 MB, free: 2.543 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.033e-05/0.1156, allocations: 112.8 kB / 476 MB, free: 2.422 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.536e-05/0.1157, allocations: 188.1 kB / 476.2 MB, free: 2.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.245e-05/0.1157, allocations: 176.3 kB / 476.3 MB, free: 2.051 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.275e-05/0.1158, allocations: 180.2 kB / 476.5 MB, free: 1.867 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002191/0.116, allocations: 421.2 kB / 476.9 MB, free: 1.398 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-05/0.1161, allocations: 109 kB / 477 MB, free: 1.285 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.001e-05/0.1161, allocations: 104.9 kB / 477.1 MB, free: 1.176 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.318e-05/0.1162, allocations: 176.3 kB / 477.3 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.454e-05/0.1163, allocations: 180.2 kB / 477.5 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.519e-05/0.1163, allocations: 184.3 kB / 477.6 MB, free: 0.625 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.577e-05/0.1164, allocations: 184.5 kB / 477.8 MB, free: 448 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.1166, allocations: 307.7 kB / 478.1 MB, free: 116 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.1167, allocations: 201.9 kB / 478.3 MB, free: 15.89 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.345e-05/0.1167, allocations: 176.3 kB / 478.5 MB, free: 15.71 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.529e-05/0.1168, allocations: 105 kB / 478.6 MB, free: 15.6 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.675e-05/0.1169, allocations: 188.2 kB / 478.8 MB, free: 15.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.124e-05/0.1169, allocations: 101 kB / 478.9 MB, free: 15.3 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.806e-05/0.117, allocations: 111.2 kB / 479 MB, free: 15.2 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.117, allocations: 0 / 479 MB, free: 15.2 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002628/0.1173, allocations: 8 kB / 479 MB, free: 15.19 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.0001251/0.1174, allocations: 178.5 kB / 479.2 MB, free: 15 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007038/0.1181, allocations: 348.7 kB / 479.5 MB, free: 14.62 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1182, allocations: 0 / 479.5 MB, free: 14.62 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.386e-06/0.1182, allocations: 4.312 kB / 479.5 MB, free: 14.62 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003627/0.1185, allocations: 0.5246 MB / 480 MB, free: 14.09 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000294/0.1188, allocations: 230 kB / 480.3 MB, free: 13.84 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.1191, allocations: 0.6926 MB / 481 MB, free: 13.12 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.873e-05/0.1191, allocations: 4 kB / 481 MB, free: 13.12 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.314e-05/0.1192, allocations: 7.438 kB / 481 MB, free: 13.11 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1192, allocations: 0 / 481 MB, free: 13.11 MB / 318.1 MB Notification: Performance of Templates: time 0.002831/0.122, allocations: 0.7323 MB / 481.7 MB, free: 12.38 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: