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.001005/0.001005, allocations: 111.3 kB / 15.34 MB, free: 0.5117 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.349/1.349, allocations: 222.9 MB / 239 MB, free: 4.727 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.001535, allocations: 196.5 kB / 289.3 MB, free: 2.461 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03225/0.03225, allocations: 8.784 MB / 348.2 MB, free: 4.852 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 79.38 kB / 410.6 MB, free: 42.3 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1161, allocations: 51.55 MB / 462.1 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.InitializationParameters): time 0.001747/0.1179, allocations: 0.5753 MB / 462.7 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006784/0.1185, allocations: 300.2 kB / 463 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.003e-05/0.1186, allocations: 4 kB / 463 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.912e-05/0.1186, allocations: 0 / 463 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003385/0.119, allocations: 51.83 kB / 463.1 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.192e-05/0.1191, allocations: 11.97 kB / 463.1 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.556e-05/0.1191, allocations: 31.86 kB / 463.1 MB, free: 13.81 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.534e-05/0.1192, allocations: 3.984 kB / 463.1 MB, free: 13.81 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.761e-05/0.1193, allocations: 11.98 kB / 463.1 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002805/0.1196, allocations: 75.86 kB / 463.2 MB, free: 13.72 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.1196, allocations: 0 / 463.2 MB, free: 13.72 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.404e-05/0.1196, allocations: 4 kB / 463.2 MB, free: 13.72 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.205e-05/0.1197, allocations: 23.91 kB / 463.2 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.616e-05/0.1197, allocations: 19.86 kB / 463.2 MB, free: 13.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.866e-05/0.1198, allocations: 27.92 kB / 463.3 MB, free: 13.65 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.1198, allocations: 0 / 463.3 MB, free: 13.65 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1198, allocations: 0 / 463.3 MB, free: 13.65 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.1198, allocations: 4 kB / 463.3 MB, free: 13.64 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.0005473/0.1204, allocations: 389.2 kB / 463.7 MB, free: 13.21 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.1204, allocations: 8.031 kB / 463.7 MB, free: 13.2 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.748e-05/0.1205, allocations: 84.12 kB / 463.7 MB, free: 13.12 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.1207, allocations: 255.5 kB / 464 MB, free: 12.83 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.275e-05/0.1208, allocations: 158.9 kB / 464.1 MB, free: 12.67 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.886e-05/0.1208, allocations: 162.9 kB / 464.3 MB, free: 12.51 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.622e-05/0.1209, allocations: 101.5 kB / 464.4 MB, free: 12.41 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.55e-05/0.1209, allocations: 75.47 kB / 464.5 MB, free: 12.33 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.514e-05/0.121, allocations: 154.5 kB / 464.6 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.89e-05/0.1211, allocations: 154.6 kB / 464.8 MB, free: 12.03 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.286e-05/0.1211, allocations: 158.6 kB / 464.9 MB, free: 11.87 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003074/0.1214, allocations: 469.8 kB / 465.4 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.705e-05/0.1215, allocations: 165.1 kB / 465.6 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.32e-05/0.1216, allocations: 80.14 kB / 465.6 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.273e-05/0.1216, allocations: 87.28 kB / 465.7 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.593e-05/0.1217, allocations: 105.8 kB / 465.8 MB, free: 10.91 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.1217, allocations: 0 / 465.8 MB, free: 10.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 8.322e-05/0.1218, allocations: 41.48 kB / 465.9 MB, free: 10.86 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/0.1218, allocations: 126.7 kB / 466 MB, free: 10.73 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.0001879/0.122, allocations: 151.8 kB / 466.1 MB, free: 10.57 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.122, allocations: 25.7 kB / 466.2 MB, free: 10.54 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.843e-05/0.1221, allocations: 100.1 kB / 466.3 MB, free: 10.44 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.435e-06/0.1221, allocations: 0 / 466.3 MB, free: 10.44 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-05/0.1221, allocations: 25.72 kB / 466.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.1223, allocations: 318.8 kB / 466.6 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.806e-05/0.1223, allocations: 12 kB / 466.6 MB, free: 10.07 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.871e-05/0.1224, allocations: 53.14 kB / 466.7 MB, free: 10 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.95e-05/0.1225, allocations: 98.72 kB / 466.8 MB, free: 9.883 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.1225, allocations: 0 / 466.8 MB, free: 9.883 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004954/0.123, allocations: 331 kB / 467.1 MB, free: 9.504 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.354e-05/0.123, allocations: 29.7 kB / 467.1 MB, free: 9.469 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.123, allocations: 0 / 467.1 MB, free: 9.469 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001999/0.1232, allocations: 49.88 kB / 467.2 MB, free: 9.414 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002175/0.1235, allocations: 27.92 kB / 467.2 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003796/0.1273, allocations: 5.56 MB / 472.7 MB, free: 3.266 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.408e-05/0.1274, allocations: 23.98 kB / 472.8 MB, free: 3.242 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.1274, allocations: 4 kB / 472.8 MB, free: 3.238 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.000116/0.1275, allocations: 201.6 kB / 473 MB, free: 3.031 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.699e-05/0.1276, allocations: 113 kB / 473.1 MB, free: 2.914 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001597/0.1278, allocations: 112.8 kB / 473.2 MB, free: 2.793 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.419e-05/0.1278, allocations: 188.2 kB / 473.4 MB, free: 2.602 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-05/0.1279, allocations: 176.3 kB / 473.5 MB, free: 2.422 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.805e-05/0.1279, allocations: 184.2 kB / 473.7 MB, free: 2.234 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002091/0.1282, allocations: 421.1 kB / 474.1 MB, free: 1.766 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.341e-05/0.1282, allocations: 105 kB / 474.2 MB, free: 1.656 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.273e-05/0.1283, allocations: 108.9 kB / 474.3 MB, free: 1.543 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.567e-05/0.1283, allocations: 176.4 kB / 474.5 MB, free: 1.363 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.766e-05/0.1284, allocations: 188.2 kB / 474.7 MB, free: 1.172 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.448e-05/0.1284, allocations: 188.2 kB / 474.9 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.687e-05/0.1285, allocations: 180.2 kB / 475.1 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001262/0.1286, allocations: 311.7 kB / 475.4 MB, free: 480 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.887e-05/0.1287, allocations: 197.9 kB / 475.6 MB, free: 256 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.953e-05/0.1288, allocations: 176.3 kB / 475.7 MB, free: 72 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.905e-05/0.1289, allocations: 101 kB / 475.8 MB, free: 15.96 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.731e-05/0.129, allocations: 184.2 kB / 476 MB, free: 15.78 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.421e-05/0.129, allocations: 109 kB / 476.1 MB, free: 15.66 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.307e-05/0.1291, allocations: 109.6 kB / 476.2 MB, free: 15.56 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1291, allocations: 0 / 476.2 MB, free: 15.56 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002896/0.1294, allocations: 8 kB / 476.2 MB, free: 15.55 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.0001172/0.1295, allocations: 178.5 kB / 476.4 MB, free: 15.37 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008104/0.1303, allocations: 344.8 kB / 476.7 MB, free: 14.99 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1303, allocations: 3.938 kB / 476.7 MB, free: 14.99 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.064e-06/0.1303, allocations: 4 kB / 476.7 MB, free: 14.98 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/0.1307, allocations: 455.7 kB / 477.2 MB, free: 14.54 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003368/0.1311, allocations: 237.7 kB / 477.4 MB, free: 14.28 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.1313, allocations: 0.6885 MB / 478.1 MB, free: 13.56 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.947e-05/0.1314, allocations: 4 kB / 478.1 MB, free: 13.56 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.755e-05/0.1314, allocations: 15.42 kB / 478.1 MB, free: 13.54 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1314, allocations: 0 / 478.1 MB, free: 13.54 MB / 318.1 MB Notification: Performance of Templates: time 0.002913/0.1343, allocations: 0.7718 MB / 478.9 MB, free: 12.77 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 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.pipe 2>&1)