Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.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.Examples.KundurSMIB.SMIB_AVR_PSS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS") [: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.003323/0.003323, allocations: 179.1 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.09/1.09, allocations: 205.2 MB / 213.1 MB, free: 13.99 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.0008942/0.0008942, allocations: 87.69 kB / 261.1 MB, free: 13.55 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.06002/0.06002, allocations: 12.6 MB / 321.6 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2696/0.2696, allocations: 78.05 MB / 450.4 MB, free: 3.199 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.23e-06/5.26e-06, allocations: 4 kB / 0.5141 GB, free: 29.98 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09935/0.09937, allocations: 69.32 MB / 0.5818 GB, free: 8.742 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2738/0.3732, allocations: 101.8 MB / 0.6812 GB, free: 6.398 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001729/0.3734, allocations: 77.08 kB / 0.6813 GB, free: 6.359 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.07737/0.4508, allocations: 28.49 MB / 0.7091 GB, free: 14.98 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001032/0.4509, allocations: 24 kB / 0.7091 GB, free: 14.96 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.004081/0.455, allocations: 1.51 MB / 0.7106 GB, free: 13.48 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.4551, allocations: 11.97 kB / 0.7106 GB, free: 13.47 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002611/0.4577, allocations: 437.1 kB / 0.711 GB, free: 13.08 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00162/0.4593, allocations: 0.8845 MB / 0.7119 GB, free: 12.39 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002894/0.4596, allocations: 222.8 kB / 0.7121 GB, free: 12.14 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001955/0.4598, allocations: 43.98 kB / 0.7122 GB, free: 12.1 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001388/0.4612, allocations: 0.7591 MB / 0.7129 GB, free: 11.66 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/0.4626, allocations: 0.7688 MB / 0.7136 GB, free: 11.14 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.688e-05/0.4627, allocations: 0 / 0.7136 GB, free: 11.14 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.208e-05/0.4628, allocations: 0 / 0.7136 GB, free: 11.14 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.675e-05/0.4628, allocations: 16 kB / 0.7137 GB, free: 11.12 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006357/0.4692, allocations: 3.685 MB / 0.7173 GB, free: 8.406 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001818/0.471, allocations: 0.9373 MB / 0.7182 GB, free: 7.812 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006547/0.4717, allocations: 463 kB / 0.7186 GB, free: 7.574 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001218/0.4718, allocations: 12.64 kB / 0.7186 GB, free: 7.559 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.4718, allocations: 42.09 kB / 0.7187 GB, free: 7.516 MB / 458.7 MB Notification: Performance of pre-optimization done (n=76): time 2.174e-06/0.4718, allocations: 0 / 0.7187 GB, free: 7.516 MB / 458.7 MB Notification: Performance of matching and sorting (n=76): time 0.00643/0.4783, allocations: 2.19 MB / 0.7208 GB, free: 5.742 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.679e-05/0.4784, allocations: 111.5 kB / 0.7209 GB, free: 5.605 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001615/0.48, allocations: 0.8757 MB / 0.7218 GB, free: 4.984 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001601/0.4802, allocations: 25.7 kB / 0.7218 GB, free: 4.953 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002183/0.4804, allocations: 292.3 kB / 0.7221 GB, free: 4.707 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003814/0.4808, allocations: 268.7 kB / 0.7223 GB, free: 4.473 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.653e-05/0.4809, allocations: 0 / 0.7223 GB, free: 4.473 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.481, allocations: 344.8 kB / 0.7227 GB, free: 4.145 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006939/0.4817, allocations: 426.3 kB / 0.7231 GB, free: 3.93 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007478/0.4825, allocations: 0.5048 MB / 0.7236 GB, free: 3.609 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008371/0.4833, allocations: 468.9 kB / 0.724 GB, free: 3.359 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.4833, allocations: 0 / 0.724 GB, free: 3.359 MB / 458.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.007011/0.4903, allocations: 2.417 MB / 0.7264 GB, free: 1.414 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000212/0.4906, allocations: 0.6268 MB / 0.727 GB, free: 0.7539 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.4906, allocations: 4 kB / 0.727 GB, free: 0.75 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003943/0.4945, allocations: 0.9735 MB / 0.7279 GB, free: 15.91 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/0.4956, allocations: 162.3 kB / 0.7281 GB, free: 15.75 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007735/0.5033, allocations: 3.938 MB / 0.7319 GB, free: 12.71 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001698/0.5051, allocations: 163.2 kB / 0.7321 GB, free: 12.55 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001627/0.5052, allocations: 27.94 kB / 0.7321 GB, free: 12.52 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.444e-06/0.5052, allocations: 4 kB / 0.7321 GB, free: 12.52 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006962/0.5122, allocations: 2.262 MB / 0.7343 GB, free: 10.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.5122, allocations: 7.938 kB / 0.7343 GB, free: 10.69 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003917/0.5162, allocations: 0.9719 MB / 0.7353 GB, free: 9.707 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009515/0.5171, allocations: 143.8 kB / 0.7354 GB, free: 9.566 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007984/0.5251, allocations: 3.946 MB / 0.7393 GB, free: 5.496 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001699/0.5269, allocations: 139.3 kB / 0.7394 GB, free: 5.359 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001921/0.5271, allocations: 27.98 kB / 0.7394 GB, free: 5.332 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(7,59.2%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003151/0.5274, allocations: 112.9 kB / 0.7395 GB, free: 5.215 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000361/0.5278, allocations: 118.6 kB / 0.7397 GB, free: 5.098 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006394/0.5342, allocations: 2.255 MB / 0.7419 GB, free: 2.828 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-06/0.5342, allocations: 8 kB / 0.7419 GB, free: 2.82 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.301e-05/0.5342, allocations: 4 kB / 0.7419 GB, free: 2.816 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.5342, allocations: 3.984 kB / 0.7419 GB, free: 2.812 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008702/0.5429, allocations: 3.724 MB / 0.7455 GB, free: 15.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.543, allocations: 4.016 kB / 0.7455 GB, free: 15.01 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00085/0.5438, allocations: 115.8 kB / 0.7456 GB, free: 14.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003017/0.5469, allocations: 0.8683 MB / 0.7465 GB, free: 14.02 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/0.547, allocations: 11.91 kB / 0.7465 GB, free: 14.01 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006124/0.5531, allocations: 3.118 MB / 0.7495 GB, free: 10.77 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.5531, allocations: 0 / 0.7495 GB, free: 10.77 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007358/0.5605, allocations: 2.944 MB / 0.7524 GB, free: 7.797 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004549/0.561, allocations: 219.5 kB / 0.7526 GB, free: 7.562 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003263/0.5613, allocations: 12 kB / 0.7526 GB, free: 7.551 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001476/0.5628, allocations: 123.9 kB / 0.7527 GB, free: 7.43 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002182/0.563, allocations: 72.53 kB / 0.7528 GB, free: 7.359 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.603e-05/0.5631, allocations: 16 kB / 0.7528 GB, free: 7.344 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001101/0.5642, allocations: 0.6706 MB / 0.7535 GB, free: 6.664 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001771/0.566, allocations: 499 kB / 0.754 GB, free: 6.176 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (G1.machine.delta,G1.machine.w,G1.machine.e1q,G1.machine.e1d,G1.machine.e2q,G1.machine.e2d,G1.avr.vm,G1.avr.vr,G1.avr.vf1,G1.pss.imLeadLag.TF.x_scaled[1],G1.pss.imLeadLag1.TF.x_scaled[1],G1.pss.derivativeLag.TF.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(9,48.1%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000323/0.5663, allocations: 147.2 kB / 0.7541 GB, free: 6.02 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007337/0.5737, allocations: 2.991 MB / 0.757 GB, free: 2.918 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.5737, allocations: 3.938 kB / 0.757 GB, free: 2.914 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002826/0.5765, allocations: 1.187 MB / 0.7582 GB, free: 1.668 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007885/0.5773, allocations: 84.27 kB / 0.7583 GB, free: 1.586 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005412/0.5828, allocations: 1.973 MB / 0.7602 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001051/0.5838, allocations: 1.176 MB / 0.7613 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of SimCode: time 4.61e-07/0.5838, allocations: 0 / 0.7613 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of Templates: time 0.03831/0.6222, allocations: 24.52 MB / 0.7853 GB, free: 5.844 MB / 0.5105 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe 2>&1)