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.0008779/0.000878, allocations: 91.61 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.361/1.361, allocations: 223.3 MB / 239.4 MB, free: 5.543 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.001216/0.001216, allocations: 180.5 kB / 290.6 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0345/0.0345, allocations: 8.794 MB / 350.5 MB, free: 4.66 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003902/0.0003902, allocations: 10.09 kB / 413.8 MB, free: 42.82 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1052, allocations: 52.55 MB / 466.4 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.InitializationParameters): time 0.0006786/0.1059, allocations: 254.2 kB / 466.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006482/0.1066, allocations: 292.2 kB / 466.9 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.357e-05/0.1067, allocations: 0 / 466.9 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.087e-05/0.1067, allocations: 0 / 466.9 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003815/0.1071, allocations: 59.81 kB / 467 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.146e-05/0.1072, allocations: 0 / 467 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.371e-05/0.1073, allocations: 27.86 kB / 467 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.546e-05/0.1073, allocations: 4 kB / 467 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.116e-05/0.1074, allocations: 15.98 kB / 467 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003491/0.1078, allocations: 75.84 kB / 467.1 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.1078, allocations: 4 kB / 467.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.338e-05/0.1078, allocations: 0 / 467.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.734e-05/0.1079, allocations: 19.91 kB / 467.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.256e-05/0.1079, allocations: 45.56 kB / 467.1 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.2e-05/0.108, allocations: 31.86 kB / 467.2 MB, free: 12.4 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.257e-06/0.108, allocations: 0 / 467.2 MB, free: 12.4 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.108, allocations: 0 / 467.2 MB, free: 12.4 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1081, allocations: 0 / 467.2 MB, free: 12.4 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.0005271/0.1086, allocations: 389.3 kB / 467.6 MB, free: 11.96 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.1086, allocations: 8.031 kB / 467.6 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.673e-05/0.1087, allocations: 92 kB / 467.6 MB, free: 11.87 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001913/0.1089, allocations: 259.5 kB / 467.9 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.062e-05/0.109, allocations: 154.9 kB / 468.1 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.358e-05/0.109, allocations: 158.9 kB / 468.2 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.022e-05/0.1091, allocations: 105.5 kB / 468.3 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.977e-05/0.1092, allocations: 79.45 kB / 468.4 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.239e-05/0.1092, allocations: 154.5 kB / 468.5 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.388e-05/0.1093, allocations: 154.6 kB / 468.7 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.586e-05/0.1093, allocations: 158.5 kB / 468.8 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002818/0.1096, allocations: 465.9 kB / 469.3 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.946e-05/0.1097, allocations: 165.1 kB / 469.5 MB, free: 9.941 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.186e-05/0.1097, allocations: 84.14 kB / 469.5 MB, free: 9.855 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.014e-05/0.1098, allocations: 75.28 kB / 469.6 MB, free: 9.781 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.904e-05/0.1098, allocations: 113.8 kB / 469.7 MB, free: 9.66 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.1098, allocations: 0 / 469.7 MB, free: 9.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 9.619e-05/0.1099, allocations: 45.47 kB / 469.8 MB, free: 9.609 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.608e-05/0.11, allocations: 126.7 kB / 469.9 MB, free: 9.473 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.0001775/0.1102, allocations: 147.5 kB / 470 MB, free: 9.32 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.1102, allocations: 25.7 kB / 470.1 MB, free: 9.289 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.051e-05/0.1103, allocations: 88.14 kB / 470.2 MB, free: 9.199 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.315e-06/0.1103, allocations: 4 kB / 470.2 MB, free: 9.195 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.845e-05/0.1103, allocations: 17.72 kB / 470.2 MB, free: 9.172 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.1104, allocations: 314.8 kB / 470.5 MB, free: 8.855 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.616e-05/0.1105, allocations: 19.98 kB / 470.5 MB, free: 8.836 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.943e-05/0.1106, allocations: 57.12 kB / 470.6 MB, free: 8.762 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/0.1107, allocations: 90.73 kB / 470.6 MB, free: 8.648 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.1107, allocations: 4 kB / 470.6 MB, free: 8.645 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004711/0.1112, allocations: 331 kB / 471 MB, free: 8.266 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.637e-05/0.1112, allocations: 33.7 kB / 471 MB, free: 8.227 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.1112, allocations: 0 / 471 MB, free: 8.227 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002022/0.1114, allocations: 41.69 kB / 471 MB, free: 8.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002154/0.1117, allocations: 36.05 kB / 471.1 MB, free: 8.145 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00353/0.1152, allocations: 5.177 MB / 476.3 MB, free: 2.434 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.848e-05/0.1153, allocations: 11.94 kB / 476.3 MB, free: 2.422 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.1153, allocations: 4 kB / 476.3 MB, free: 2.418 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.0001375/0.1155, allocations: 213.7 kB / 476.5 MB, free: 2.199 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.218e-05/0.1155, allocations: 112.9 kB / 476.6 MB, free: 2.082 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.858e-05/0.1156, allocations: 108.8 kB / 476.7 MB, free: 1.965 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-05/0.1156, allocations: 184.2 kB / 476.9 MB, free: 1.777 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.926e-05/0.1157, allocations: 176.3 kB / 477.1 MB, free: 1.598 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.768e-05/0.1158, allocations: 184.2 kB / 477.2 MB, free: 1.41 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/0.116, allocations: 417.2 kB / 477.6 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.505e-05/0.116, allocations: 109 kB / 477.7 MB, free: 0.832 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.657e-05/0.1161, allocations: 104.9 kB / 477.8 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-05/0.1161, allocations: 176.3 kB / 478 MB, free: 0.543 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.679e-05/0.1162, allocations: 180.2 kB / 478.2 MB, free: 368 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.875e-05/0.1163, allocations: 188.5 kB / 478.4 MB, free: 172 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.309e-05/0.1164, allocations: 184.2 kB / 478.6 MB, free: 15.98 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001244/0.1165, allocations: 307.7 kB / 478.9 MB, free: 15.66 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.194e-05/0.1166, allocations: 197.9 kB / 479.1 MB, free: 15.44 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.223e-05/0.1167, allocations: 188.2 kB / 479.2 MB, free: 15.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.912e-05/0.1167, allocations: 105 kB / 479.3 MB, free: 15.14 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.087e-05/0.1168, allocations: 180.2 kB / 479.5 MB, free: 14.95 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.635e-05/0.1169, allocations: 101 kB / 479.6 MB, free: 14.85 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.056e-05/0.1169, allocations: 112.8 kB / 479.7 MB, free: 14.74 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.117, allocations: 0 / 479.7 MB, free: 14.74 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002628/0.1172, allocations: 15.94 kB / 479.7 MB, free: 14.72 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 0.0001119/0.1173, allocations: 170.5 kB / 479.9 MB, free: 14.55 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007513/0.1181, allocations: 344.7 kB / 480.2 MB, free: 14.17 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1181, allocations: 4.312 kB / 480.2 MB, free: 14.17 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.535e-06/0.1181, allocations: 4 kB / 480.3 MB, free: 14.16 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003854/0.1185, allocations: 0.5224 MB / 480.8 MB, free: 13.64 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003621/0.1189, allocations: 239.3 kB / 481 MB, free: 13.38 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003683/0.1193, allocations: 0.6887 MB / 481.7 MB, free: 12.66 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.198e-05/0.1193, allocations: 8 kB / 481.7 MB, free: 12.65 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.366e-05/0.1193, allocations: 7.438 kB / 481.7 MB, free: 12.64 MB / 318.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1193, allocations: 0 / 481.7 MB, free: 12.64 MB / 318.1 MB Notification: Performance of Templates: time 0.003101/0.1224, allocations: 0.7407 MB / 482.5 MB, free: 11.9 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: