Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.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_1Mod.Network,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1Mod_Network",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1Mod_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.002596/0.002596, allocations: 182.9 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.075/1.075, 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.000891/0.000891, allocations: 98.23 kB / 261.1 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.05888/0.05888, 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.266/0.266, allocations: 78.05 MB / 449.9 MB, free: 3.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.222/0.488, allocations: 76.11 MB / 0.5137 GB, free: 30.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.5968, allocations: 69.22 MB / 0.5813 GB, free: 9.191 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2965/0.8933, allocations: 100.1 MB / 0.6791 GB, free: 8.555 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002033/0.8936, allocations: 80.58 kB / 0.6791 GB, free: 8.512 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.05926/0.9529, allocations: 23.18 MB / 0.7018 GB, free: 5.25 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.9529, allocations: 11.94 kB / 0.7018 GB, free: 5.238 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002479/0.9554, allocations: 409.2 kB / 0.7022 GB, free: 4.871 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/0.9565, allocations: 0.6418 MB / 0.7028 GB, free: 4.336 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002252/0.9568, allocations: 197.7 kB / 0.703 GB, free: 4.113 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001671/0.957, allocations: 47.83 kB / 0.703 GB, free: 4.07 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001094/0.9581, allocations: 0.5751 MB / 0.7036 GB, free: 3.734 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001176/0.9593, allocations: 0.652 MB / 0.7042 GB, free: 3.281 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.9593, allocations: 0 / 0.7042 GB, free: 3.281 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.64e-05/0.9594, allocations: 3.984 kB / 0.7042 GB, free: 3.277 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.675e-05/0.9594, allocations: 16 kB / 0.7043 GB, free: 3.262 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005641/0.965, allocations: 3.245 MB / 0.7074 GB, free: 0.707 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/0.9661, allocations: 0.4945 MB / 0.7079 GB, free: 400 kB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000548/0.9667, allocations: 392.6 kB / 0.7083 GB, free: 196 kB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.285e-05/0.9668, allocations: 8.656 kB / 0.7083 GB, free: 188 kB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.9668, allocations: 50.61 kB / 0.7083 GB, free: 132 kB / 442.7 MB Notification: Performance of pre-optimization done (n=69): time 3.357e-06/0.9668, allocations: 0 / 0.7083 GB, free: 132 kB / 442.7 MB Notification: Performance of matching and sorting (n=69): time 0.005928/0.9727, allocations: 2.044 MB / 0.7103 GB, free: 14.44 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.9728, allocations: 85.77 kB / 0.7104 GB, free: 14.34 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007874/0.9736, allocations: 0.6221 MB / 0.711 GB, free: 13.89 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.583e-05/0.9737, allocations: 29.64 kB / 0.7111 GB, free: 13.85 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.9738, allocations: 272.9 kB / 0.7113 GB, free: 13.62 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002356/0.9741, allocations: 238.7 kB / 0.7115 GB, free: 13.41 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.504e-05/0.9741, allocations: 3.938 kB / 0.7115 GB, free: 13.41 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.482e-05/0.9742, allocations: 333.5 kB / 0.7119 GB, free: 13.09 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005303/0.9748, allocations: 341.7 kB / 0.7122 GB, free: 12.91 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000617/0.9754, allocations: 435.3 kB / 0.7126 GB, free: 12.64 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000587/0.976, allocations: 381.3 kB / 0.713 GB, free: 12.43 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.976, allocations: 0 / 0.713 GB, free: 12.43 MB / 458.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.006759/0.9828, allocations: 2.271 MB / 0.7152 GB, free: 10.55 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000255/0.983, allocations: 0.6976 MB / 0.7159 GB, free: 9.812 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.9831, allocations: 3.984 kB / 0.7159 GB, free: 9.809 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004445/0.9875, allocations: 1.088 MB / 0.7169 GB, free: 8.859 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006592/0.9882, allocations: 103.6 kB / 0.717 GB, free: 8.762 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008872/0.9971, allocations: 4.359 MB / 0.7213 GB, free: 5.414 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/0.9983, allocations: 123.3 kB / 0.7214 GB, free: 5.293 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000126/0.9984, allocations: 27.12 kB / 0.7214 GB, free: 5.273 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.787e-06/0.9984, allocations: 4 kB / 0.7214 GB, free: 5.27 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006679/1.005, allocations: 2.143 MB / 0.7235 GB, free: 3.527 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.679e-06/1.005, allocations: 3.938 kB / 0.7235 GB, free: 3.523 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004323/1.009, allocations: 1.078 MB / 0.7246 GB, free: 2.586 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006351/1.01, allocations: 99.33 kB / 0.7247 GB, free: 2.492 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008717/1.019, allocations: 4.362 MB / 0.7289 GB, free: 15.14 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/1.02, allocations: 111.4 kB / 0.729 GB, free: 15.03 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000141/1.02, allocations: 27.56 kB / 0.7291 GB, free: 15.01 MB / 474.7 MB Warning: Assuming fixed start value for the following 2 variables: G1.order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real G1.aVRtypeIII.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: breaker.vr.im:VARIABLE() "Imaginary part of complex number" type: Real breaker.vr.re:VARIABLE() "Real part of complex number" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 1 (breaker.Open) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 62 * 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 {10 15} Notification: Performance of prepare postOptimizeDAE: time 0.0003378/1.021, allocations: 124.7 kB / 0.7292 GB, free: 14.88 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002546/1.021, allocations: 82.97 kB / 0.7293 GB, free: 14.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006004/1.027, allocations: 2.11 MB / 0.7313 GB, free: 13.1 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/1.027, allocations: 8 kB / 0.7313 GB, free: 13.09 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.489e-05/1.027, allocations: 4 kB / 0.7313 GB, free: 13.09 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/1.027, allocations: 12.3 kB / 0.7314 GB, free: 13.07 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007794/1.035, allocations: 3.303 MB / 0.7346 GB, free: 10.38 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.728e-06/1.035, allocations: 3.906 kB / 0.7346 GB, free: 10.38 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000635/1.035, allocations: 83.89 kB / 0.7347 GB, free: 10.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003062/1.038, allocations: 0.9119 MB / 0.7356 GB, free: 9.375 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.575e-05/1.039, allocations: 8 kB / 0.7356 GB, free: 9.367 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006605/1.045, allocations: 3.389 MB / 0.7389 GB, free: 5.855 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/1.045, allocations: 4 kB / 0.7389 GB, free: 5.852 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006965/1.052, allocations: 2.695 MB / 0.7415 GB, free: 3.109 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007675/1.06, allocations: 3.618 MB / 0.745 GB, free: 15.44 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003683/1.06, allocations: 187.8 kB / 0.7452 GB, free: 15.23 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000284/1.061, allocations: 4 kB / 0.7452 GB, free: 15.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001137/1.062, allocations: 83.92 kB / 0.7453 GB, free: 15.15 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001946/1.062, allocations: 68.55 kB / 0.7454 GB, free: 15.08 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.68e-05/1.062, allocations: 23.98 kB / 0.7454 GB, free: 15.06 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0006657/1.063, allocations: 491.2 kB / 0.7459 GB, free: 14.59 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002668/1.065, allocations: 475.1 kB / 0.7463 GB, free: 14.12 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (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) * Number of discrete variables: 1 (breaker.Open) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * 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 {(11,37.2%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002911/1.066, allocations: 139.2 kB / 0.7464 GB, free: 13.98 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007213/1.073, allocations: 2.837 MB / 0.7492 GB, free: 11.04 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/1.073, allocations: 0 / 0.7492 GB, free: 11.04 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002813/1.076, allocations: 1.148 MB / 0.7503 GB, free: 9.828 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005287/1.076, allocations: 55.3 kB / 0.7504 GB, free: 9.773 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004533/1.081, allocations: 1.624 MB / 0.752 GB, free: 8.105 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009329/1.082, allocations: 1.077 MB / 0.753 GB, free: 6.996 MB / 490.7 MB Notification: Performance of SimCode: time 5.01e-07/1.082, allocations: 0 / 0.753 GB, free: 6.996 MB / 490.7 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1Mod_Network_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1Mod_Network.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe 2>&1)