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.001087/0.001087, allocations: 106.4 kB / 16.27 MB, free: 5.977 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.368/1.368, allocations: 222.9 MB / 239.9 MB, free: 4.609 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.001791/0.001791, allocations: 203.5 kB / 290.2 MB, free: 2.324 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03546/0.03546, allocations: 8.794 MB / 349.2 MB, free: 4.723 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 79.8 kB / 411.8 MB, free: 42.21 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09998/0.1016, allocations: 51.56 MB / 463.3 MB, free: 14.51 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.InitializationParameters): time 0.001756/0.1034, allocations: 0.5015 MB / 463.8 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006175/0.104, allocations: 308.1 kB / 464.1 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.073e-05/0.1041, allocations: 0 / 464.1 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.019e-05/0.1041, allocations: 3.938 kB / 464.1 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004108/0.1045, allocations: 59.77 kB / 464.2 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.215e-05/0.1046, allocations: 11.98 kB / 464.2 MB, free: 13.63 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.076e-05/0.1047, allocations: 31.84 kB / 464.2 MB, free: 13.6 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.011e-05/0.1048, allocations: 0 / 464.2 MB, free: 13.6 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.701e-05/0.1048, allocations: 11.98 kB / 464.2 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003124/0.1051, allocations: 55.88 kB / 464.3 MB, free: 13.53 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.1052, allocations: 0 / 464.3 MB, free: 13.53 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.239e-05/0.1052, allocations: 4 kB / 464.3 MB, free: 13.53 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.581e-05/0.1053, allocations: 19.92 kB / 464.3 MB, free: 13.51 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.138e-05/0.1053, allocations: 23.86 kB / 464.3 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.682e-05/0.1054, allocations: 27.91 kB / 464.4 MB, free: 13.46 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.1054, allocations: 0 / 464.4 MB, free: 13.46 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1054, allocations: 0 / 464.4 MB, free: 13.46 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.1054, allocations: 0 / 464.4 MB, free: 13.46 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.0005565/0.106, allocations: 393.2 kB / 464.7 MB, free: 13.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.106, allocations: 12.03 kB / 464.8 MB, free: 13 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.689e-05/0.1061, allocations: 84.12 kB / 464.8 MB, free: 12.92 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.1063, allocations: 259.5 kB / 465.1 MB, free: 12.63 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.871e-05/0.1064, allocations: 150.9 kB / 465.2 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.694e-05/0.1065, allocations: 158.9 kB / 465.4 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.197e-05/0.1066, allocations: 101.5 kB / 465.5 MB, free: 12.22 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.06e-05/0.1067, allocations: 79.47 kB / 465.6 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.437e-05/0.1068, allocations: 154.5 kB / 465.7 MB, free: 11.99 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.537e-05/0.1069, allocations: 154.6 kB / 465.9 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.054e-05/0.107, allocations: 150.6 kB / 466 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003758/0.1073, allocations: 473.9 kB / 466.5 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.571e-05/0.1074, allocations: 173.1 kB / 466.7 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.461e-05/0.1075, allocations: 84.12 kB / 466.7 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.025e-05/0.1075, allocations: 75.28 kB / 466.8 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.559e-05/0.1076, allocations: 109.8 kB / 466.9 MB, free: 10.72 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.1076, allocations: 4 kB / 466.9 MB, free: 10.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 8.574e-05/0.1077, allocations: 41.48 kB / 467 MB, free: 10.67 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.423e-05/0.1078, allocations: 130.7 kB / 467.1 MB, free: 10.53 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.0001935/0.108, allocations: 152.2 kB / 467.2 MB, free: 10.37 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.108, allocations: 25.7 kB / 467.3 MB, free: 10.34 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.081e-05/0.108, allocations: 88.12 kB / 467.3 MB, free: 10.25 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.329e-06/0.108, allocations: 4 kB / 467.4 MB, free: 10.25 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-05/0.1081, allocations: 29.7 kB / 467.4 MB, free: 10.21 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.1082, allocations: 314.8 kB / 467.7 MB, free: 9.895 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.58e-05/0.1083, allocations: 23.92 kB / 467.7 MB, free: 9.871 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.703e-05/0.1084, allocations: 53.14 kB / 467.8 MB, free: 9.801 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.1085, allocations: 94.83 kB / 467.9 MB, free: 9.684 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.1085, allocations: 0 / 467.9 MB, free: 9.684 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004719/0.109, allocations: 331.1 kB / 468.2 MB, free: 9.305 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.698e-05/0.109, allocations: 37.69 kB / 468.2 MB, free: 9.262 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.109, allocations: 3.984 kB / 468.2 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002087/0.1092, allocations: 37.7 kB / 468.3 MB, free: 9.215 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002247/0.1095, allocations: 27.97 kB / 468.3 MB, free: 9.188 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003826/0.1133, allocations: 5.568 MB / 473.9 MB, free: 3.059 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.231e-05/0.1134, allocations: 11.84 kB / 473.9 MB, free: 3.047 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.1134, allocations: 4 kB / 473.9 MB, free: 3.043 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.0001349/0.1136, allocations: 217.7 kB / 474.1 MB, free: 2.82 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.128e-05/0.1136, allocations: 105 kB / 474.2 MB, free: 2.711 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.102e-05/0.1137, allocations: 116.8 kB / 474.3 MB, free: 2.586 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.203e-05/0.1138, allocations: 180.2 kB / 474.5 MB, free: 2.402 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.99e-05/0.1138, allocations: 180.3 kB / 474.7 MB, free: 2.219 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.578e-05/0.1139, allocations: 184.2 kB / 474.8 MB, free: 2.031 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002297/0.1141, allocations: 417.2 kB / 475.2 MB, free: 1.566 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-05/0.1142, allocations: 105 kB / 475.3 MB, free: 1.457 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.871e-05/0.1142, allocations: 108.9 kB / 475.4 MB, free: 1.344 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.781e-05/0.1143, allocations: 176.3 kB / 475.6 MB, free: 1.164 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.319e-05/0.1144, allocations: 180.2 kB / 475.8 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.203e-05/0.1145, allocations: 180.3 kB / 476 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-05/0.1145, allocations: 188.5 kB / 476.2 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001524/0.1147, allocations: 315.6 kB / 476.5 MB, free: 280 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.1148, allocations: 193.9 kB / 476.7 MB, free: 60 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.884e-05/0.1149, allocations: 184.2 kB / 476.8 MB, free: 15.87 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.307e-05/0.115, allocations: 101 kB / 476.9 MB, free: 15.77 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.966e-05/0.1151, allocations: 180.2 kB / 477.1 MB, free: 15.58 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-05/0.1152, allocations: 109 kB / 477.2 MB, free: 15.47 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.647e-05/0.1152, allocations: 113.4 kB / 477.3 MB, free: 15.36 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1153, allocations: 0 / 477.3 MB, free: 15.36 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002836/0.1155, allocations: 8 kB / 477.3 MB, free: 15.35 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.0001104/0.1157, allocations: 178.5 kB / 477.5 MB, free: 15.17 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006176/0.1163, allocations: 340.7 kB / 477.8 MB, free: 14.8 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1163, allocations: 0 / 477.8 MB, free: 14.8 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.357e-06/0.1163, allocations: 4.312 kB / 477.8 MB, free: 14.79 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000386/0.1167, allocations: 461.8 kB / 478.3 MB, free: 14.34 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003244/0.117, allocations: 249.8 kB / 478.5 MB, free: 14.06 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/0.1173, allocations: 0.6922 MB / 479.2 MB, free: 13.34 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.366e-05/0.1174, allocations: 11.38 kB / 479.2 MB, free: 13.33 MB / 318.1 MB Notification: Performance of SimCode: time 1.623e-06/0.1174, allocations: 0 / 479.2 MB, free: 13.33 MB / 318.1 MB Notification: Performance of Templates: time 0.002936/0.1203, allocations: 1.127 MB / 480.4 MB, free: 12.2 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)