Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1,fileNamePrefix="OpenIPSL_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_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 4.0.0+maint.om/package.mo): time 0.002281/0.002281, allocations: 181.5 kB / 7.46 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.206/1.206, allocations: 221.4 MB / 229.3 MB, free: 3.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009348/0.0009348, allocations: 89.2 kB / 280.1 MB, free: 1.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3938/0.3938, allocations: 78.05 MB / 408.9 MB, free: 15.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1361/0.5299, allocations: 75.5 MB / 484.4 MB, free: 4.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.7982, allocations: 69.35 MB / 0.5408 GB, free: 21.3 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1104/0.9087, allocations: 98.15 MB / 0.6367 GB, free: 6.578 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002383/0.909, allocations: 79.94 kB / 0.6367 GB, free: 6.5 MB / 458.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.06263/0.9716, allocations: 22.93 MB / 0.6591 GB, free: 15.33 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.9716, allocations: 8 kB / 0.6591 GB, free: 15.32 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002427/0.9741, allocations: 406.3 kB / 0.6595 GB, free: 14.93 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/0.9752, allocations: 0.6173 MB / 0.6601 GB, free: 14.26 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001611/0.9753, allocations: 130.4 kB / 0.6602 GB, free: 14.12 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001171/0.9755, allocations: 32 kB / 0.6603 GB, free: 14.09 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001053/0.9765, allocations: 0.5494 MB / 0.6608 GB, free: 13.54 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/0.9776, allocations: 0.6173 MB / 0.6614 GB, free: 12.91 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.9776, allocations: 0 / 0.6614 GB, free: 12.91 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.582e-05/0.9777, allocations: 7.844 kB / 0.6614 GB, free: 12.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.9777, allocations: 12 kB / 0.6614 GB, free: 12.89 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005244/0.983, allocations: 2.97 MB / 0.6643 GB, free: 9.777 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001391/0.9844, allocations: 0.6722 MB / 0.665 GB, free: 9.09 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005702/0.985, allocations: 386.4 kB / 0.6654 GB, free: 8.715 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.223e-05/0.9851, allocations: 12.62 kB / 0.6654 GB, free: 8.703 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.9851, allocations: 39.22 kB / 0.6654 GB, free: 8.656 MB / 490.7 MB Notification: Performance of pre-optimization done (n=64): time 2.765e-06/0.9851, allocations: 0 / 0.6654 GB, free: 8.656 MB / 490.7 MB Notification: Performance of matching and sorting (n=64): time 0.006073/0.9912, allocations: 1.984 MB / 0.6674 GB, free: 6.648 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/0.9913, allocations: 89.77 kB / 0.6674 GB, free: 6.543 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008805/0.9921, allocations: 0.6212 MB / 0.668 GB, free: 5.918 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.765e-05/0.9922, allocations: 29.7 kB / 0.6681 GB, free: 5.883 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001773/0.9924, allocations: 252.6 kB / 0.6683 GB, free: 5.629 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002381/0.9927, allocations: 224.6 kB / 0.6685 GB, free: 5.406 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.975e-05/0.9927, allocations: 0 / 0.6685 GB, free: 5.406 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.9929, allocations: 337.9 kB / 0.6688 GB, free: 5.07 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005563/0.9934, allocations: 329.5 kB / 0.6692 GB, free: 4.75 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005967/0.994, allocations: 413.7 kB / 0.6696 GB, free: 4.32 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000647/0.9947, allocations: 360.4 kB / 0.6699 GB, free: 3.973 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.9947, allocations: 4.031 kB / 0.6699 GB, free: 3.969 MB / 490.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.006714/1.001, allocations: 2.211 MB / 0.6721 GB, free: 1.738 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001957/1.002, allocations: 0.6186 MB / 0.6727 GB, free: 1.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/1.002, allocations: 7.969 kB / 0.6727 GB, free: 1.062 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004397/1.006, allocations: 1.031 MB / 0.6737 GB, free: 24 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1546/1.161, allocations: 110 kB / 0.6738 GB, free: 145 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007755/1.168, allocations: 4.124 MB / 0.6778 GB, free: 143.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/1.17, allocations: 116.1 kB / 0.6779 GB, free: 143.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-05/1.17, allocations: 29.97 kB / 0.678 GB, free: 143.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.953e-06/1.17, allocations: 3.969 kB / 0.678 GB, free: 143.7 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006057/1.176, allocations: 2.087 MB / 0.68 GB, free: 143.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/1.176, allocations: 3.25 kB / 0.68 GB, free: 143.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004007/1.18, allocations: 1.04 MB / 0.681 GB, free: 143.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005769/1.18, allocations: 97.11 kB / 0.6811 GB, free: 143.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007482/1.188, allocations: 4.131 MB / 0.6851 GB, free: 142.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001018/1.189, allocations: 104.2 kB / 0.6852 GB, free: 142.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-05/1.189, allocations: 23.97 kB / 0.6853 GB, free: 142.4 MB / 490.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.0002466/1.189, allocations: 121.2 kB / 0.6854 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/1.189, allocations: 92.44 kB / 0.6855 GB, free: 142.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005304/1.195, allocations: 2.06 MB / 0.6875 GB, free: 142.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-06/1.195, allocations: 7.438 kB / 0.6875 GB, free: 142.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/1.195, allocations: 3.406 kB / 0.6875 GB, free: 142.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/1.195, allocations: 7.141 kB / 0.6875 GB, free: 142.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006703/1.201, allocations: 3.2 MB / 0.6906 GB, free: 141.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/1.201, allocations: 8.484 kB / 0.6906 GB, free: 141.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005741/1.202, allocations: 85.02 kB / 0.6907 GB, free: 141.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002706/1.205, allocations: 0.8674 MB / 0.6916 GB, free: 141.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.018e-05/1.205, allocations: 7.375 kB / 0.6916 GB, free: 141.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005056/1.21, allocations: 3.112 MB / 0.6946 GB, free: 140.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/1.21, allocations: 0 / 0.6946 GB, free: 140.2 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00623/1.216, allocations: 2.624 MB / 0.6972 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007103/1.223, allocations: 3.523 MB / 0.7006 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002181/1.223, allocations: 190.7 kB / 0.7008 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001569/1.224, allocations: 6.5 kB / 0.7008 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008898/1.225, allocations: 85.91 kB / 0.7009 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001772/1.225, allocations: 66.17 kB / 0.7009 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.175e-05/1.225, allocations: 16.31 kB / 0.701 GB, free: 138.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0005878/1.225, allocations: 491.8 kB / 0.7014 GB, free: 138.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002523/1.228, allocations: 448.3 kB / 0.7019 GB, free: 138.8 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: 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.0002419/1.228, allocations: 145.8 kB / 0.702 GB, free: 138.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006506/1.235, allocations: 2.696 MB / 0.7046 GB, free: 138 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/1.235, allocations: 0 / 0.7046 GB, free: 138 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002571/1.237, allocations: 1.094 MB / 0.7057 GB, free: 137.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00059/1.238, allocations: 52.81 kB / 0.7057 GB, free: 137.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003853/1.242, allocations: 1.539 MB / 0.7072 GB, free: 137.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006185/1.242, allocations: 1.065 MB / 0.7083 GB, free: 136.4 MB / 490.7 MB Notification: Performance of SimCode: time 1.403e-06/1.242, allocations: 0 / 0.7083 GB, free: 136.4 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network1.fmu > OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe 2>&1)