Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.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_1.Network1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network1",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.002277/0.002277, allocations: 184.1 kB / 7.46 MB, free: 2.504 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.079/1.079, allocations: 205.2 MB / 213.1 MB, free: 13.93 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.0008724/0.0008727, allocations: 86.45 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/package.mo): time 0.05652/0.05652, allocations: 12.2 MB / 321.2 MB, free: 1.297 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2668/0.2668, allocations: 78.05 MB / 449.9 MB, free: 3.668 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2168/0.4837, allocations: 76.09 MB / 0.5137 GB, free: 30.19 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.5856, allocations: 69.23 MB / 0.5813 GB, free: 9.047 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2851/0.8708, allocations: 99.64 MB / 0.6786 GB, free: 9 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001864/0.871, allocations: 78.64 kB / 0.6787 GB, free: 8.957 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: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.05945/0.9305, allocations: 22.3 MB / 0.7004 GB, free: 6.449 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.9306, allocations: 11.94 kB / 0.7004 GB, free: 6.438 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002584/0.9331, allocations: 402.1 kB / 0.7008 GB, free: 6.078 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001236/0.9344, allocations: 0.6092 MB / 0.7014 GB, free: 5.566 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001803/0.9346, allocations: 142.3 kB / 0.7016 GB, free: 5.406 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001639/0.9348, allocations: 35.91 kB / 0.7016 GB, free: 5.371 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00105/0.9358, allocations: 0.5526 MB / 0.7021 GB, free: 5.051 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/0.9369, allocations: 0.6106 MB / 0.7027 GB, free: 4.629 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.9369, allocations: 0 / 0.7027 GB, free: 4.629 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.487e-05/0.937, allocations: 4 kB / 0.7027 GB, free: 4.625 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.937, allocations: 16 kB / 0.7028 GB, free: 4.609 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005486/0.9425, allocations: 2.983 MB / 0.7057 GB, free: 2.285 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001313/0.9439, allocations: 0.6682 MB / 0.7063 GB, free: 1.848 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005287/0.9444, allocations: 376.4 kB / 0.7067 GB, free: 1.652 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.901e-05/0.9445, allocations: 11.84 kB / 0.7067 GB, free: 1.645 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.9445, allocations: 46.97 kB / 0.7067 GB, free: 1.594 MB / 442.7 MB Notification: Performance of pre-optimization done (n=64): time 2.796e-06/0.9445, allocations: 0 / 0.7067 GB, free: 1.594 MB / 442.7 MB Notification: Performance of matching and sorting (n=64): time 0.005887/0.9504, allocations: 1.989 MB / 0.7087 GB, free: 15.94 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.9505, allocations: 85.77 kB / 0.7088 GB, free: 15.84 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000985/0.9515, allocations: 0.6273 MB / 0.7094 GB, free: 15.38 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001245/0.9516, allocations: 29.7 kB / 0.7094 GB, free: 15.35 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/0.9518, allocations: 252 kB / 0.7096 GB, free: 15.13 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002539/0.952, allocations: 225.8 kB / 0.7099 GB, free: 14.93 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.654e-05/0.9521, allocations: 0 / 0.7099 GB, free: 14.93 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.661e-05/0.9522, allocations: 327.3 kB / 0.7102 GB, free: 14.62 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005314/0.9527, allocations: 329.8 kB / 0.7105 GB, free: 14.45 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005821/0.9533, allocations: 419.2 kB / 0.7109 GB, free: 14.19 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005878/0.9539, allocations: 361.1 kB / 0.7112 GB, free: 13.99 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.055e-05/0.9539, allocations: 4 kB / 0.7112 GB, free: 13.99 MB / 458.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.006818/0.9608, allocations: 2.227 MB / 0.7134 GB, free: 12.14 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001966/0.961, allocations: 0.6135 MB / 0.714 GB, free: 11.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.961, allocations: 0 / 0.714 GB, free: 11.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004367/0.9654, allocations: 1.03 MB / 0.715 GB, free: 10.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006994/0.9661, allocations: 111.7 kB / 0.7151 GB, free: 10.49 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008543/0.9747, allocations: 4.123 MB / 0.7191 GB, free: 7.305 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/0.9759, allocations: 111.4 kB / 0.7192 GB, free: 7.195 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001551/0.9761, allocations: 26.36 kB / 0.7193 GB, free: 7.176 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.464e-06/0.9761, allocations: 4 kB / 0.7193 GB, free: 7.172 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006803/0.9829, allocations: 2.096 MB / 0.7213 GB, free: 5.461 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.983, allocations: 8 kB / 0.7213 GB, free: 5.453 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004611/0.9876, allocations: 1.034 MB / 0.7223 GB, free: 4.551 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007707/0.9884, allocations: 99.77 kB / 0.7224 GB, free: 4.457 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009274/0.9977, allocations: 4.142 MB / 0.7265 GB, free: 1.254 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/0.9988, allocations: 99.38 kB / 0.7266 GB, free: 1.156 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.747e-05/0.9989, allocations: 26.92 kB / 0.7266 GB, free: 1.137 MB / 458.7 MB Warning: Assuming fixed start value for the following 2 variables: G1.aVRtypeIII.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real G1.order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" 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 (64): * Single equations (assignments): 61 * 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.0002591/0.9992, allocations: 119.8 kB / 0.7267 GB, free: 1.016 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000204/0.9994, allocations: 86.97 kB / 0.7268 GB, free: 0.9297 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005847/1.005, allocations: 2.063 MB / 0.7288 GB, free: 15.26 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.487e-05/1.005, allocations: 8 kB / 0.7288 GB, free: 15.25 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/1.005, allocations: 4 kB / 0.7288 GB, free: 15.25 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/1.005, allocations: 3.984 kB / 0.7288 GB, free: 15.24 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008026/1.013, allocations: 3.208 MB / 0.732 GB, free: 12.72 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.034e-05/1.013, allocations: 3.984 kB / 0.732 GB, free: 12.71 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006825/1.014, allocations: 87.89 kB / 0.732 GB, free: 12.63 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003059/1.017, allocations: 0.8657 MB / 0.7329 GB, free: 11.88 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001474/1.017, allocations: 10.62 kB / 0.7329 GB, free: 11.87 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006012/1.023, allocations: 3.117 MB / 0.7359 GB, free: 8.684 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/1.023, allocations: 4 kB / 0.7359 GB, free: 8.68 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006752/1.03, allocations: 2.629 MB / 0.7385 GB, free: 6.004 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007528/1.038, allocations: 3.517 MB / 0.742 GB, free: 2.434 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003603/1.038, allocations: 191.8 kB / 0.7421 GB, free: 2.227 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002447/1.038, allocations: 4 kB / 0.7421 GB, free: 2.223 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000967/1.039, allocations: 75.94 kB / 0.7422 GB, free: 2.148 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001924/1.04, allocations: 68.53 kB / 0.7423 GB, free: 2.082 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.203e-05/1.04, allocations: 16 kB / 0.7423 GB, free: 2.066 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0006893/1.04, allocations: 487.2 kB / 0.7428 GB, free: 1.594 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002531/1.043, allocations: 455.2 kB / 0.7432 GB, free: 1.148 MB / 474.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 44 * 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.0003164/1.043, allocations: 135.9 kB / 0.7433 GB, free: 1.012 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006893/1.05, allocations: 2.703 MB / 0.746 GB, free: 14.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/1.05, allocations: 0 / 0.746 GB, free: 14.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002768/1.053, allocations: 1.105 MB / 0.747 GB, free: 13.04 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000681/1.054, allocations: 51.3 kB / 0.7471 GB, free: 12.99 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004173/1.058, allocations: 1.535 MB / 0.7486 GB, free: 11.42 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000752/1.059, allocations: 1.054 MB / 0.7496 GB, free: 10.33 MB / 490.7 MB Notification: Performance of SimCode: time 7.41e-07/1.059, allocations: 0 / 0.7496 GB, free: 10.33 MB / 490.7 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network1.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe 2>&1)