Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_2.Example_2.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.Tutorial.Example_2.Example_2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_Tutorial_Example_2_Example_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.Tutorial.Example_2.Example_2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_Tutorial_Example_2_Example_2",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.003477/0.003477, allocations: 183.2 kB / 7.461 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.301/1.301, 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.001013/0.001013, allocations: 96.69 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/package.mo): time 0.07239/0.07239, allocations: 12.19 MB / 321.2 MB, free: 1.355 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2885/0.2885, allocations: 78.05 MB / 449.9 MB, free: 3.656 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2793/0.5678, allocations: 76.09 MB / 0.5137 GB, free: 30.33 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.7146, allocations: 69.22 MB / 0.5813 GB, free: 9.195 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4284/1.143, allocations: 101.9 MB / 0.6807 GB, free: 7.418 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000302/1.143, allocations: 75.77 kB / 0.6808 GB, free: 7.379 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.08875/1.232, allocations: 30 MB / 0.7101 GB, free: 14.52 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.466e-05/1.232, allocations: 15.94 kB / 0.7101 GB, free: 14.51 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003203/1.236, allocations: 427.8 kB / 0.7105 GB, free: 14.12 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002291/1.238, allocations: 0.8756 MB / 0.7114 GB, free: 13.45 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003505/1.238, allocations: 227.1 kB / 0.7116 GB, free: 13.19 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003336/1.239, allocations: 40 kB / 0.7116 GB, free: 13.15 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001822/1.24, allocations: 0.7575 MB / 0.7124 GB, free: 12.71 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00176/1.242, allocations: 0.767 MB / 0.7131 GB, free: 12.19 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/1.242, allocations: 0 / 0.7131 GB, free: 12.19 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.454e-05/1.242, allocations: 3.906 kB / 0.7131 GB, free: 12.19 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.416e-05/1.242, allocations: 16 kB / 0.7132 GB, free: 12.17 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009113/1.251, allocations: 3.692 MB / 0.7168 GB, free: 9.445 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002127/1.254, allocations: 0.927 MB / 0.7177 GB, free: 8.855 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008493/1.255, allocations: 462.2 kB / 0.7181 GB, free: 8.617 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001225/1.255, allocations: 20.52 kB / 0.7181 GB, free: 8.598 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.709e-05/1.255, allocations: 35.03 kB / 0.7182 GB, free: 8.559 MB / 458.7 MB Notification: Performance of pre-optimization done (n=76): time 5.37e-06/1.255, allocations: 0 / 0.7182 GB, free: 8.559 MB / 458.7 MB Notification: Performance of matching and sorting (n=76): time 0.006987/1.262, allocations: 2.192 MB / 0.7203 GB, free: 6.777 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.501e-05/1.262, allocations: 115.3 kB / 0.7204 GB, free: 6.641 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001879/1.264, allocations: 0.857 MB / 0.7212 GB, free: 6.035 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001669/1.264, allocations: 29.69 kB / 0.7213 GB, free: 6 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002407/1.264, allocations: 302.5 kB / 0.7216 GB, free: 5.746 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004386/1.265, allocations: 262.2 kB / 0.7218 GB, free: 5.52 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.31e-05/1.265, allocations: 3.938 kB / 0.7218 GB, free: 5.516 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001365/1.265, allocations: 345.1 kB / 0.7221 GB, free: 5.184 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007299/1.266, allocations: 418.6 kB / 0.7225 GB, free: 4.977 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007729/1.266, allocations: 0.5041 MB / 0.723 GB, free: 4.66 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008644/1.267, allocations: 462.3 kB / 0.7235 GB, free: 4.414 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/1.267, allocations: 3.938 kB / 0.7235 GB, free: 4.41 MB / 458.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.007573/1.275, allocations: 2.424 MB / 0.7258 GB, free: 2.445 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003015/1.275, allocations: 0.6213 MB / 0.7265 GB, free: 1.789 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.256e-05/1.275, allocations: 7.906 kB / 0.7265 GB, free: 1.781 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0046/1.28, allocations: 1.028 MB / 0.7275 GB, free: 0.8828 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/1.281, allocations: 155.7 kB / 0.7276 GB, free: 0.7344 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009262/1.29, allocations: 4.128 MB / 0.7316 GB, free: 13.55 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00203/1.292, allocations: 167.2 kB / 0.7318 GB, free: 13.38 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002685/1.293, allocations: 26.56 kB / 0.7318 GB, free: 13.36 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/1.293, allocations: 4 kB / 0.7318 GB, free: 13.36 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007676/1.3, allocations: 2.275 MB / 0.7341 GB, free: 11.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/1.3, allocations: 4 kB / 0.7341 GB, free: 11.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004472/1.305, allocations: 1.037 MB / 0.7351 GB, free: 10.25 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/1.306, allocations: 147.8 kB / 0.7352 GB, free: 10.11 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00913/1.315, allocations: 4.116 MB / 0.7392 GB, free: 5.859 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002027/1.317, allocations: 151.2 kB / 0.7394 GB, free: 5.711 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002817/1.318, allocations: 31.98 kB / 0.7394 GB, free: 5.68 MB / 474.7 MB Warning: Assuming fixed start value for the following 1 variables: G1.avr.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real 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 (79): * Single equations (assignments): 76 * 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: 0 * Non-linear torn systems: 1 {8 13} Notification: Performance of prepare postOptimizeDAE: time 0.0004566/1.318, allocations: 115.6 kB / 0.7395 GB, free: 5.562 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005432/1.319, allocations: 110.6 kB / 0.7396 GB, free: 5.453 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007052/1.326, allocations: 2.266 MB / 0.7418 GB, free: 3.168 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.168e-05/1.326, allocations: 8 kB / 0.7418 GB, free: 3.16 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.664e-05/1.326, allocations: 4 kB / 0.7418 GB, free: 3.156 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.947e-05/1.326, allocations: 3.984 kB / 0.7419 GB, free: 3.152 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01098/1.337, allocations: 3.719 MB / 0.7455 GB, free: 15.37 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.277e-06/1.337, allocations: 3.938 kB / 0.7455 GB, free: 15.36 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009557/1.338, allocations: 111.9 kB / 0.7456 GB, free: 15.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003079/1.341, allocations: 0.865 MB / 0.7464 GB, free: 14.38 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001919/1.341, allocations: 15.98 kB / 0.7465 GB, free: 14.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006472/1.348, allocations: 3.115 MB / 0.7495 GB, free: 11.13 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/1.348, allocations: 3.938 kB / 0.7495 GB, free: 11.12 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007656/1.355, allocations: 2.932 MB / 0.7524 GB, free: 8.156 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008939/1.364, allocations: 3.964 MB / 0.7562 GB, free: 4.156 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008365/1.365, allocations: 223.5 kB / 0.7564 GB, free: 3.918 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006665/1.366, allocations: 8 kB / 0.7565 GB, free: 3.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001798/1.368, allocations: 119.9 kB / 0.7566 GB, free: 3.793 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000302/1.368, allocations: 72.53 kB / 0.7566 GB, free: 3.723 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.912e-05/1.368, allocations: 19.98 kB / 0.7567 GB, free: 3.703 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.00128/1.369, allocations: 0.6628 MB / 0.7573 GB, free: 3.031 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00336/1.373, allocations: 0.5069 MB / 0.7578 GB, free: 2.523 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (G1.avr.vm,G1.avr.vr,G1.avr.vf1,G1.machine.delta,G1.machine.w,G1.machine.e1q,G1.machine.e1d,G1.machine.e2q,G1.machine.e2d,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.0004222/1.373, allocations: 143 kB / 0.7579 GB, free: 2.375 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008703/1.382, allocations: 2.999 MB / 0.7609 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.888e-06/1.382, allocations: 4.375 kB / 0.7609 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003146/1.385, allocations: 1.191 MB / 0.762 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001243/1.386, allocations: 92.12 kB / 0.7621 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008545/1.395, allocations: 1.988 MB / 0.7641 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00149/1.397, allocations: 1.193 MB / 0.7652 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of SimCode: time 1.532e-06/1.397, allocations: 0 / 0.7652 GB, free: 10.67 MB / 0.4948 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_2.Example_2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_Tutorial_Example_2_Example_2_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_Tutorial_Example_2_Example_2.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe 2>&1)