Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.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.DAEMode.SMIB_Examples.Example_2.Network,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_2_Network",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_2_Network",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.002498/0.002498, allocations: 184.8 kB / 7.463 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.068/1.068, allocations: 205.2 MB / 213.1 MB, free: 13.88 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.0008882/0.0008883, allocations: 88.98 kB / 261.1 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06027/0.06027, allocations: 12.19 MB / 321.2 MB, free: 1.371 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.269/0.269, allocations: 78.05 MB / 449.9 MB, free: 3.664 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2275/0.4966, allocations: 76.09 MB / 0.5137 GB, free: 30.33 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.6046, allocations: 69.23 MB / 0.5813 GB, free: 9.199 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2951/0.8997, allocations: 101.8 MB / 0.6807 GB, free: 7.215 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002234/0.9, allocations: 84.44 kB / 0.6808 GB, free: 7.172 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.08101/0.981, allocations: 30.1 MB / 0.7102 GB, free: 14.19 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.981, allocations: 15.94 kB / 0.7102 GB, free: 14.18 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002673/0.9837, allocations: 425.2 kB / 0.7106 GB, free: 13.79 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001864/0.9856, allocations: 0.8817 MB / 0.7114 GB, free: 13.11 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003316/0.986, allocations: 227.4 kB / 0.7117 GB, free: 12.86 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002571/0.9862, allocations: 51.05 kB / 0.7117 GB, free: 12.81 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001537/0.9878, allocations: 0.7521 MB / 0.7124 GB, free: 12.38 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001456/0.9892, allocations: 0.7612 MB / 0.7132 GB, free: 11.86 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.9893, allocations: 0 / 0.7132 GB, free: 11.86 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.021e-05/0.9894, allocations: 3.906 kB / 0.7132 GB, free: 11.85 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/0.9894, allocations: 16 kB / 0.7132 GB, free: 11.84 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007015/0.9964, allocations: 3.684 MB / 0.7168 GB, free: 9.113 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001802/0.9983, allocations: 0.937 MB / 0.7177 GB, free: 8.52 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006645/0.9989, allocations: 466.7 kB / 0.7182 GB, free: 8.277 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001285/0.9991, allocations: 12.64 kB / 0.7182 GB, free: 8.262 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.9991, allocations: 42.09 kB / 0.7182 GB, free: 8.219 MB / 458.7 MB Notification: Performance of pre-optimization done (n=76): time 2.555e-06/0.9991, allocations: 3.938 kB / 0.7182 GB, free: 8.215 MB / 458.7 MB Notification: Performance of matching and sorting (n=76): time 0.006352/1.005, allocations: 2.183 MB / 0.7204 GB, free: 6.449 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.151e-05/1.006, allocations: 111.5 kB / 0.7205 GB, free: 6.312 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001461/1.007, allocations: 0.8706 MB / 0.7213 GB, free: 5.695 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000113/1.007, allocations: 29.64 kB / 0.7213 GB, free: 5.66 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002087/1.007, allocations: 300.5 kB / 0.7216 GB, free: 5.406 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003249/1.008, allocations: 265.2 kB / 0.7219 GB, free: 5.176 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.927e-05/1.008, allocations: 0 / 0.7219 GB, free: 5.176 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/1.008, allocations: 340.5 kB / 0.7222 GB, free: 4.852 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007006/1.009, allocations: 418.9 kB / 0.7226 GB, free: 4.645 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000745/1.009, allocations: 0.5115 MB / 0.7231 GB, free: 4.32 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007666/1.01, allocations: 462.8 kB / 0.7235 GB, free: 4.078 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/1.01, allocations: 7.969 kB / 0.7235 GB, free: 4.07 MB / 458.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.007237/1.017, allocations: 2.424 MB / 0.7259 GB, free: 2.109 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002677/1.018, allocations: 0.6198 MB / 0.7265 GB, free: 1.453 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/1.018, allocations: 3.906 kB / 0.7265 GB, free: 1.449 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004395/1.022, allocations: 1.036 MB / 0.7275 GB, free: 0.5469 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009685/1.023, allocations: 162.9 kB / 0.7277 GB, free: 404 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008653/1.032, allocations: 4.123 MB / 0.7317 GB, free: 13.21 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001618/1.033, allocations: 167.2 kB / 0.7319 GB, free: 13.04 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001381/1.034, allocations: 25.88 kB / 0.7319 GB, free: 13.02 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.955e-06/1.034, allocations: 4 kB / 0.7319 GB, free: 13.02 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007127/1.041, allocations: 2.285 MB / 0.7341 GB, free: 11.14 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/1.041, allocations: 0 / 0.7341 GB, free: 11.14 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004312/1.045, allocations: 1.041 MB / 0.7352 GB, free: 10.09 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008677/1.046, allocations: 147.8 kB / 0.7353 GB, free: 9.949 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008824/1.055, allocations: 4.117 MB / 0.7393 GB, free: 5.703 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/1.056, allocations: 147.2 kB / 0.7395 GB, free: 5.559 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/1.056, allocations: 27.98 kB / 0.7395 GB, free: 5.531 MB / 474.7 MB Warning: Assuming fixed start value for the following 1 variables: G1.aVRtypeIII.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.0003073/1.057, allocations: 116.9 kB / 0.7396 GB, free: 5.41 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003516/1.057, allocations: 110.6 kB / 0.7397 GB, free: 5.301 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006375/1.063, allocations: 2.262 MB / 0.7419 GB, free: 3.02 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/1.064, allocations: 8 kB / 0.7419 GB, free: 3.012 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.184e-05/1.064, allocations: 4 kB / 0.7419 GB, free: 3.008 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/1.064, allocations: 3.984 kB / 0.7419 GB, free: 3.004 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008574/1.072, allocations: 3.727 MB / 0.7456 GB, free: 15.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/1.072, allocations: 8 kB / 0.7456 GB, free: 15.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008611/1.073, allocations: 107.9 kB / 0.7457 GB, free: 15.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003093/1.076, allocations: 0.8767 MB / 0.7465 GB, free: 14.21 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001093/1.076, allocations: 11.98 kB / 0.7465 GB, free: 14.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006211/1.082, allocations: 3.115 MB / 0.7496 GB, free: 10.96 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/1.082, allocations: 0 / 0.7496 GB, free: 10.96 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007434/1.09, allocations: 2.937 MB / 0.7524 GB, free: 7.996 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008227/1.098, allocations: 3.964 MB / 0.7563 GB, free: 3.996 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004494/1.099, allocations: 231.5 kB / 0.7565 GB, free: 3.75 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003166/1.099, allocations: 0 / 0.7565 GB, free: 3.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001458/1.1, allocations: 119.9 kB / 0.7567 GB, free: 3.633 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002187/1.101, allocations: 76.53 kB / 0.7567 GB, free: 3.559 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.595e-05/1.101, allocations: 20 kB / 0.7567 GB, free: 3.539 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001106/1.102, allocations: 0.6628 MB / 0.7574 GB, free: 2.867 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0029/1.105, allocations: 0.4991 MB / 0.7579 GB, free: 2.367 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (G1.order6.delta,G1.order6.w,G1.order6.e1q,G1.order6.e1d,G1.order6.e2q,G1.order6.e2d,G1.aVRtypeIII.vm,G1.aVRtypeIII.vr,G1.aVRtypeIII.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.0003181/1.105, allocations: 154.3 kB / 0.758 GB, free: 2.207 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007445/1.113, allocations: 3.01 MB / 0.761 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.113, allocations: 0 / 0.761 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002823/1.115, allocations: 1.191 MB / 0.7621 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000665/1.116, allocations: 88.5 kB / 0.7622 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006246/1.122, allocations: 1.986 MB / 0.7642 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001158/1.124, allocations: 1.208 MB / 0.7653 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of SimCode: time 5.91e-07/1.124, allocations: 0 / 0.7653 GB, free: 10.49 MB / 0.4948 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_2_Network_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_2_Network.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe 2>&1)