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/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/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: "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_KundurSMIB_SMIB_AVR_PSS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_KundurSMIB_SMIB_AVR_PSS",fmuType="me",version="2.0",platforms={"static"}) [: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.002872/0.002872, allocations: 179.8 kB / 7.458 MB, free: 2.5 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.092/1.092, allocations: 205.2 MB / 213.1 MB, free: 13.86 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.0008272/0.0008271, allocations: 87.22 kB / 261.1 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.0617/0.0617, allocations: 12.2 MB / 321.2 MB, free: 1.285 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2672/0.2672, allocations: 78.04 MB / 449.9 MB, free: 3.652 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2209/0.4881, allocations: 76.09 MB / 0.5137 GB, free: 30.3 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.6069, allocations: 69.23 MB / 0.5813 GB, free: 9.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3269/0.9338, allocations: 101.7 MB / 0.6806 GB, free: 7.242 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001766/0.9341, allocations: 74.83 kB / 0.6807 GB, free: 7.203 MB / 426.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.08056/1.015, allocations: 30.04 MB / 0.71 GB, free: 14.3 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/1.015, allocations: 15.92 kB / 0.71 GB, free: 14.29 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002423/1.017, allocations: 428.2 kB / 0.7104 GB, free: 13.9 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001452/1.019, allocations: 0.8863 MB / 0.7113 GB, free: 13.22 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002807/1.019, allocations: 235.4 kB / 0.7115 GB, free: 12.96 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/1.019, allocations: 36 kB / 0.7115 GB, free: 12.92 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001331/1.02, allocations: 0.7539 MB / 0.7123 GB, free: 12.49 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001303/1.022, allocations: 0.7687 MB / 0.713 GB, free: 11.96 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/1.022, allocations: 0 / 0.713 GB, free: 11.96 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-05/1.022, allocations: 0 / 0.713 GB, free: 11.96 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.936e-05/1.022, allocations: 16 kB / 0.713 GB, free: 11.95 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006644/1.028, allocations: 3.69 MB / 0.7167 GB, free: 9.223 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001763/1.03, allocations: 0.9387 MB / 0.7176 GB, free: 8.625 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006445/1.031, allocations: 461.9 kB / 0.718 GB, free: 8.391 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.088e-05/1.031, allocations: 16.64 kB / 0.718 GB, free: 8.371 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/1.031, allocations: 38.78 kB / 0.7181 GB, free: 8.328 MB / 458.7 MB Notification: Performance of pre-optimization done (n=76): time 4.599e-06/1.031, allocations: 0 / 0.7181 GB, free: 8.328 MB / 458.7 MB Notification: Performance of matching and sorting (n=76): time 0.006267/1.037, allocations: 2.19 MB / 0.7202 GB, free: 6.555 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.317e-05/1.037, allocations: 111.5 kB / 0.7203 GB, free: 6.418 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001341/1.039, allocations: 0.876 MB / 0.7212 GB, free: 5.797 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001542/1.039, allocations: 25.7 kB / 0.7212 GB, free: 5.766 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001906/1.039, allocations: 298.8 kB / 0.7215 GB, free: 5.516 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003206/1.039, allocations: 267.5 kB / 0.7217 GB, free: 5.281 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.233e-05/1.04, allocations: 0 / 0.7217 GB, free: 5.281 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001321/1.04, allocations: 339.5 kB / 0.7221 GB, free: 4.957 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006675/1.04, allocations: 418.5 kB / 0.7224 GB, free: 4.75 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007201/1.041, allocations: 0.5226 MB / 0.723 GB, free: 4.418 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007168/1.042, allocations: 461.3 kB / 0.7234 GB, free: 4.176 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/1.042, allocations: 0 / 0.7234 GB, free: 4.176 MB / 458.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.006858/1.049, allocations: 2.416 MB / 0.7258 GB, free: 2.234 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002271/1.049, allocations: 0.616 MB / 0.7264 GB, free: 1.582 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/1.049, allocations: 4 kB / 0.7264 GB, free: 1.578 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003928/1.053, allocations: 0.9809 MB / 0.7273 GB, free: 0.7266 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/1.054, allocations: 163.5 kB / 0.7275 GB, free: 0.5703 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007588/1.062, allocations: 3.938 MB / 0.7313 GB, free: 13.52 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001619/1.063, allocations: 163.2 kB / 0.7315 GB, free: 13.36 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.295e-05/1.063, allocations: 26.62 kB / 0.7315 GB, free: 13.34 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.153e-06/1.063, allocations: 4 kB / 0.7315 GB, free: 13.34 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00686/1.07, allocations: 2.259 MB / 0.7337 GB, free: 11.52 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/1.07, allocations: 4 kB / 0.7337 GB, free: 11.51 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003896/1.074, allocations: 0.9795 MB / 0.7347 GB, free: 10.53 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009897/1.075, allocations: 151.8 kB / 0.7348 GB, free: 10.38 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007985/1.083, allocations: 3.942 MB / 0.7387 GB, free: 6.309 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001596/1.085, allocations: 143.3 kB / 0.7388 GB, free: 6.168 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.735e-05/1.085, allocations: 31.98 kB / 0.7388 GB, free: 6.137 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.000253/1.085, allocations: 116.9 kB / 0.7389 GB, free: 6.016 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002035/1.085, allocations: 110.6 kB / 0.7391 GB, free: 5.906 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006287/1.092, allocations: 2.251 MB / 0.7413 GB, free: 3.641 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/1.092, allocations: 4 kB / 0.7413 GB, free: 3.637 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/1.092, allocations: 7.906 kB / 0.7413 GB, free: 3.629 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/1.092, allocations: 7.984 kB / 0.7413 GB, free: 3.621 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008264/1.1, allocations: 3.712 MB / 0.7449 GB, free: 15.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/1.1, allocations: 0 / 0.7449 GB, free: 15.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008472/1.101, allocations: 119.8 kB / 0.745 GB, free: 15.72 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003072/1.104, allocations: 0.8683 MB / 0.7459 GB, free: 14.84 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.646e-05/1.104, allocations: 8 kB / 0.7459 GB, free: 14.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006076/1.11, allocations: 3.126 MB / 0.7489 GB, free: 11.59 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/1.11, allocations: 0 / 0.7489 GB, free: 11.59 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007327/1.117, allocations: 2.94 MB / 0.7518 GB, free: 8.613 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008325/1.126, allocations: 3.956 MB / 0.7557 GB, free: 4.625 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004404/1.126, allocations: 223.5 kB / 0.7559 GB, free: 4.387 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000216/1.126, allocations: 12 kB / 0.7559 GB, free: 4.375 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001304/1.128, allocations: 119.9 kB / 0.756 GB, free: 4.258 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002051/1.128, allocations: 72.53 kB / 0.7561 GB, free: 4.188 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.9e-05/1.128, allocations: 20 kB / 0.7561 GB, free: 4.168 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0009495/1.129, allocations: 0.6628 MB / 0.7567 GB, free: 3.496 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002573/1.132, allocations: 0.5107 MB / 0.7572 GB, free: 2.984 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.0002714/1.132, allocations: 140.3 kB / 0.7574 GB, free: 2.836 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007189/1.139, allocations: 2.999 MB / 0.7603 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.309e-06/1.139, allocations: 0 / 0.7603 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0029/1.142, allocations: 1.195 MB / 0.7615 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007105/1.143, allocations: 84.22 kB / 0.7615 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004767/1.148, allocations: 1.985 MB / 0.7635 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001016/1.149, allocations: 1.2 MB / 0.7646 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of SimCode: time 4.61e-07/1.149, allocations: 192 / 0.7646 GB, free: 11.14 MB / 0.4948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_KundurSMIB_SMIB_AVR_PSS_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_KundurSMIB_SMIB_AVR_PSS.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe 2>&1)