Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order5test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order5test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order5test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order5test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order5test2") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003789/0.003789, allocations: 178.8 kB / 7.454 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.329/1.329, allocations: 205.2 MB / 213.1 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001/0.001, allocations: 101.6 kB / 261.1 MB, free: 13.59 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06926/0.06926, allocations: 12.59 MB / 321.6 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2729/0.2729, allocations: 78.05 MB / 450.4 MB, free: 3.219 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.069e-06/5.089e-06, allocations: 0 / 0.5141 GB, free: 29.92 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1136, allocations: 69.33 MB / 0.5818 GB, free: 8.699 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3145/0.4281, allocations: 98.34 MB / 0.6779 GB, free: 9.281 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/0.4284, allocations: 78.58 kB / 0.6779 GB, free: 9.27 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.05732/0.4857, allocations: 22.58 MB / 0.7 GB, free: 7.242 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.849e-05/0.4858, allocations: 20 kB / 0.7 GB, free: 7.223 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.00425/0.49, allocations: 1.673 MB / 0.7016 GB, free: 5.617 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.4901, allocations: 11.97 kB / 0.7017 GB, free: 5.605 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003276/0.4934, allocations: 0.5687 MB / 0.7022 GB, free: 5.086 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001184/0.4946, allocations: 0.6871 MB / 0.7029 GB, free: 4.492 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002718/0.4948, allocations: 239.4 kB / 0.7031 GB, free: 4.223 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.495, allocations: 40 kB / 0.7031 GB, free: 4.184 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001289/0.4963, allocations: 0.7527 MB / 0.7039 GB, free: 3.73 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001208/0.4975, allocations: 0.6986 MB / 0.7046 GB, free: 3.262 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.4975, allocations: 0 / 0.7046 GB, free: 3.262 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.797e-05/0.4976, allocations: 3.984 kB / 0.7046 GB, free: 3.258 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.4976, allocations: 16 kB / 0.7046 GB, free: 3.242 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005285/0.5029, allocations: 3.184 MB / 0.7077 GB, free: 0.7422 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008595/0.5038, allocations: 0.523 MB / 0.7082 GB, free: 464 kB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007015/0.5045, allocations: 0.524 MB / 0.7087 GB, free: 184 kB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001032/0.5046, allocations: 8.781 kB / 0.7087 GB, free: 172 kB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.5046, allocations: 41.91 kB / 0.7088 GB, free: 128 kB / 442.7 MB Notification: Performance of pre-optimization done (n=84): time 2.084e-06/0.5046, allocations: 0 / 0.7088 GB, free: 128 kB / 442.7 MB Notification: Performance of matching and sorting (n=84): time 0.01222/0.5169, allocations: 4.196 MB / 0.7129 GB, free: 12.43 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.5169, allocations: 60.19 kB / 0.7129 GB, free: 12.36 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008079/0.5177, allocations: 0.6139 MB / 0.7135 GB, free: 11.9 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.354e-05/0.5178, allocations: 25.7 kB / 0.7135 GB, free: 11.87 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000182/0.518, allocations: 284.7 kB / 0.7138 GB, free: 11.63 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002884/0.5183, allocations: 291.1 kB / 0.7141 GB, free: 11.38 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.074e-05/0.5184, allocations: 4 kB / 0.7141 GB, free: 11.37 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.5185, allocations: 332.5 kB / 0.7144 GB, free: 11.05 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006352/0.5192, allocations: 413.8 kB / 0.7148 GB, free: 10.84 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007262/0.5199, allocations: 0.4971 MB / 0.7153 GB, free: 10.52 MB / 458.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: $DER.order5Type1_Inputs_Outputs.delta = 0.0 (order5Type1_Inputs_Outputs.w_b * (-1.0 + $START.order5Type1_Inputs_Outputs.w) = 0.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.0009097/0.5208, allocations: 0.5433 MB / 0.7158 GB, free: 10.16 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.5208, allocations: 3.984 kB / 0.7158 GB, free: 10.16 MB / 458.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.01315/0.534, allocations: 4.394 MB / 0.7201 GB, free: 6.312 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.534, allocations: 4 kB / 0.7201 GB, free: 6.309 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.534, allocations: 7.938 kB / 0.7201 GB, free: 6.301 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006384/0.5404, allocations: 1.831 MB / 0.7219 GB, free: 4.703 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005641/0.541, allocations: 123 kB / 0.722 GB, free: 4.586 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01463/0.5556, allocations: 6.626 MB / 0.7285 GB, free: 15.71 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001133/0.5568, allocations: 171.3 kB / 0.7287 GB, free: 15.54 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.391e-05/0.5569, allocations: 38.8 kB / 0.7287 GB, free: 15.51 MB / 474.7 MB Warning: Assuming redundant initial conditions for the following 1 initial equations: $DER.order5Type1_Inputs_Outputs.delta = 0.0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 61 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {24 15} Notification: Performance of prepare postOptimizeDAE: time 0.0002113/0.5571, allocations: 120.7 kB / 0.7288 GB, free: 15.39 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001751/0.5573, allocations: 102.8 kB / 0.7289 GB, free: 15.29 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01249/0.5698, allocations: 4.28 MB / 0.7331 GB, free: 11.56 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.5698, allocations: 8 kB / 0.7331 GB, free: 11.55 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.5698, allocations: 4 kB / 0.7331 GB, free: 11.55 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.629e-05/0.5699, allocations: 3.984 kB / 0.7331 GB, free: 11.55 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01445/0.5843, allocations: 5.549 MB / 0.7385 GB, free: 6.324 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.5843, allocations: 0 / 0.7385 GB, free: 6.324 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005963/0.5849, allocations: 103.9 kB / 0.7386 GB, free: 6.223 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005399/0.5904, allocations: 1.726 MB / 0.7403 GB, free: 4.492 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.455e-05/0.5905, allocations: 7.984 kB / 0.7403 GB, free: 4.484 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01292/0.6034, allocations: 5.659 MB / 0.7458 GB, free: 14.71 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.6034, allocations: 0 / 0.7458 GB, free: 14.71 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.014/0.6174, allocations: 4.998 MB / 0.7507 GB, free: 9.68 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003917/0.6179, allocations: 191.6 kB / 0.7509 GB, free: 9.473 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001721/0.618, allocations: 7.938 kB / 0.7509 GB, free: 9.465 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/0.6191, allocations: 127.9 kB / 0.751 GB, free: 9.34 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003271/0.6194, allocations: 124.5 kB / 0.7512 GB, free: 9.219 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.503e-05/0.6195, allocations: 20 kB / 0.7512 GB, free: 9.199 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.000617/0.6201, allocations: 487.1 kB / 0.7516 GB, free: 8.727 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001047/0.6212, allocations: 363.5 kB / 0.752 GB, free: 8.371 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (order5Type1_Inputs_Outputs.delta,order5Type1_Inputs_Outputs.w,order5Type1_Inputs_Outputs.e1q,order5Type1_Inputs_Outputs.e1d,order5Type1_Inputs_Outputs.e2d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 50 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.000262/0.6214, allocations: 127.2 kB / 0.7521 GB, free: 8.234 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005356/0.6268, allocations: 1.904 MB / 0.754 GB, free: 6.316 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.6268, allocations: 0 / 0.754 GB, free: 6.316 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004167/0.631, allocations: 1.413 MB / 0.7554 GB, free: 4.891 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006074/0.6316, allocations: 59.23 kB / 0.7554 GB, free: 4.832 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003209/0.6348, allocations: 1.374 MB / 0.7567 GB, free: 3.426 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008059/0.6357, allocations: 1.087 MB / 0.7578 GB, free: 2.312 MB / 490.7 MB Notification: Performance of SimCode: time 6.11e-07/0.6357, allocations: 0 / 0.7578 GB, free: 2.312 MB / 490.7 MB Notification: Performance of Templates: time 0.02688/0.6626, allocations: 17.96 MB / 0.7753 GB, free: 372 kB / 0.4948 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order5test2.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order5test2.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order5test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe 2>&1)