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.001345/0.001345, allocations: 103.5 kB / 16.35 MB, free: 5.875 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.465/1.465, allocations: 222.9 MB / 240 MB, free: 4.523 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.00172/0.00172, allocations: 192.5 kB / 290.3 MB, free: 2.242 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03424/0.03424, allocations: 8.792 MB / 349.3 MB, free: 4.582 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 79.98 kB / 412.5 MB, free: 41.68 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1054, allocations: 51.56 MB / 464.1 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.InitializationParameters): time 0.001917/0.1074, allocations: 0.5088 MB / 464.6 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006428/0.108, allocations: 304.1 kB / 464.9 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.827e-05/0.1081, allocations: 0 / 464.9 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.517e-05/0.1081, allocations: 0 / 464.9 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004933/0.1086, allocations: 63.73 kB / 465 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.224e-05/0.1087, allocations: 8 kB / 465 MB, free: 12.62 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 NFFlatten.flatten: time 0.0001798/0.1089, allocations: 27.86 kB / 465 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.335e-05/0.109, allocations: 3.984 kB / 465 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.568e-05/0.1091, allocations: 15.98 kB / 465 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004269/0.1095, allocations: 63.86 kB / 465.1 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.834e-05/0.1095, allocations: 0 / 465.1 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.154e-05/0.1095, allocations: 0 / 465.1 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.976e-05/0.1096, allocations: 19.86 kB / 465.1 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.051e-05/0.1097, allocations: 19.88 kB / 465.1 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001146/0.1098, allocations: 27.89 kB / 465.1 MB, free: 12.44 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1098, allocations: 0 / 465.1 MB, free: 12.44 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.1098, allocations: 4 kB / 465.1 MB, free: 12.44 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.189e-05/0.1098, allocations: 0 / 465.1 MB, free: 12.44 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.0007239/0.1106, allocations: 400.9 kB / 465.5 MB, free: 11.99 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.1106, allocations: 8.031 kB / 465.5 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.055e-05/0.1107, allocations: 84.12 kB / 465.6 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002708/0.111, allocations: 251.6 kB / 465.9 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.802e-05/0.111, allocations: 150.9 kB / 466 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.1112, allocations: 166.9 kB / 466.2 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.412e-05/0.1112, allocations: 101.5 kB / 466.3 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.896e-05/0.1113, allocations: 75.47 kB / 466.3 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.095e-05/0.1113, allocations: 154.5 kB / 466.5 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-05/0.1114, allocations: 150.6 kB / 466.6 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.955e-05/0.1115, allocations: 154.5 kB / 466.8 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003125/0.1118, allocations: 477.9 kB / 467.3 MB, free: 10.15 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.31e-05/0.1119, allocations: 165.1 kB / 467.4 MB, free: 9.98 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.606e-05/0.1119, allocations: 80.14 kB / 467.5 MB, free: 9.898 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.161e-05/0.112, allocations: 75.28 kB / 467.6 MB, free: 9.824 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.173e-05/0.112, allocations: 117.8 kB / 467.7 MB, free: 9.699 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.112, allocations: 0 / 467.7 MB, free: 9.699 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 7.678e-05/0.1121, allocations: 41.53 kB / 467.7 MB, free: 9.652 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.169e-05/0.1122, allocations: 126.7 kB / 467.9 MB, free: 9.516 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.0001667/0.1124, allocations: 151.6 kB / 468 MB, free: 9.359 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.1124, allocations: 29.69 kB / 468 MB, free: 9.324 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.843e-05/0.1124, allocations: 88.14 kB / 468.1 MB, free: 9.234 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.214e-06/0.1124, allocations: 4 kB / 468.1 MB, free: 9.23 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.273e-05/0.1125, allocations: 21.72 kB / 468.1 MB, free: 9.203 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.1126, allocations: 318.8 kB / 468.5 MB, free: 8.883 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.839e-05/0.1127, allocations: 15.98 kB / 468.5 MB, free: 8.867 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.93e-05/0.1127, allocations: 57.14 kB / 468.5 MB, free: 8.793 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.1128, allocations: 94.78 kB / 468.6 MB, free: 8.676 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.1128, allocations: 4 kB / 468.6 MB, free: 8.672 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005048/0.1134, allocations: 327 kB / 468.9 MB, free: 8.297 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.551e-05/0.1134, allocations: 33.7 kB / 469 MB, free: 8.258 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1134, allocations: 0 / 469 MB, free: 8.258 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001996/0.1136, allocations: 49.62 kB / 469 MB, free: 8.203 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002143/0.1138, allocations: 28.17 kB / 469.1 MB, free: 8.176 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003918/0.1178, allocations: 5.568 MB / 474.6 MB, free: 2.047 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.946e-05/0.1179, allocations: 11.84 kB / 474.6 MB, free: 2.035 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.1179, allocations: 11.94 kB / 474.6 MB, free: 2.023 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.0001222/0.118, allocations: 209.6 kB / 474.8 MB, free: 1.809 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.498e-05/0.1181, allocations: 109.1 kB / 475 MB, free: 1.695 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.243e-05/0.1182, allocations: 108.8 kB / 475.1 MB, free: 1.578 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.127e-05/0.1182, allocations: 180.3 kB / 475.2 MB, free: 1.395 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.01e-05/0.1183, allocations: 192.1 kB / 475.4 MB, free: 1.199 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-05/0.1183, allocations: 176.3 kB / 475.6 MB, free: 1.02 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002156/0.1186, allocations: 417.2 kB / 476 MB, free: 0.5547 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.482e-05/0.1186, allocations: 104.9 kB / 476.1 MB, free: 456 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.994e-05/0.1187, allocations: 109 kB / 476.2 MB, free: 340 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.827e-05/0.1187, allocations: 184.2 kB / 476.4 MB, free: 148 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.081e-05/0.1188, allocations: 176.3 kB / 476.6 MB, free: 15.96 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.366e-05/0.1189, allocations: 180.3 kB / 476.7 MB, free: 15.78 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.126e-05/0.119, allocations: 188.4 kB / 476.9 MB, free: 15.59 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001286/0.1191, allocations: 319.6 kB / 477.2 MB, free: 15.25 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.004e-05/0.1192, allocations: 186 kB / 477.4 MB, free: 15.05 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.013e-05/0.1193, allocations: 176.3 kB / 477.6 MB, free: 14.87 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.784e-05/0.1193, allocations: 112.9 kB / 477.7 MB, free: 14.75 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.444e-05/0.1194, allocations: 184.3 kB / 477.9 MB, free: 14.56 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-05/0.1195, allocations: 104.9 kB / 478 MB, free: 14.45 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.905e-05/0.1195, allocations: 109 kB / 478.1 MB, free: 14.35 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1195, allocations: 0 / 478.1 MB, free: 14.35 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002668/0.1198, allocations: 12 kB / 478.1 MB, free: 14.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.488e-05/0.1199, allocations: 174.5 kB / 478.3 MB, free: 14.16 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007036/0.1206, allocations: 344.7 kB / 478.6 MB, free: 13.78 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1206, allocations: 0 / 478.6 MB, free: 13.78 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/0.1206, allocations: 0 / 478.6 MB, free: 13.78 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.121, allocations: 461.6 kB / 479.1 MB, free: 13.33 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002688/0.1213, allocations: 226.7 kB / 479.3 MB, free: 13.08 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.1215, allocations: 0.6885 MB / 480 MB, free: 12.37 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.708e-05/0.1216, allocations: 7.984 kB / 480 MB, free: 12.36 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.804e-05/0.1216, allocations: 11.44 kB / 480 MB, free: 12.35 MB / 318.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1216, allocations: 0 / 480 MB, free: 12.35 MB / 318.1 MB Notification: Performance of Templates: time 0.002921/0.1245, allocations: 0.7641 MB / 480.8 MB, free: 11.58 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 -s cvode -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.pipe 2>&1)