Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_2.Network,fileNamePrefix="OpenIPSL_release_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_release_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 4.0.0+maint.om/package.mo): time 0.001874/0.001874, allocations: 179.5 kB / 7.454 MB, free: 2.523 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.047/1.047, allocations: 221.4 MB / 229.3 MB, free: 3.184 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.0008512/0.0008513, allocations: 84.17 kB / 280.1 MB, free: 1.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3566/0.3566, allocations: 78.1 MB / 409 MB, free: 15.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1105/0.4671, allocations: 75.49 MB / 484.5 MB, free: 4.453 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.6843, allocations: 69.34 MB / 0.5408 GB, free: 21.44 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09687/0.7812, allocations: 100.3 MB / 0.6388 GB, free: 4.648 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000187/0.7814, allocations: 83.95 kB / 0.6388 GB, free: 4.566 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: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.07885/0.8603, allocations: 30.79 MB / 0.6689 GB, free: 5.531 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.8603, allocations: 12 kB / 0.6689 GB, free: 5.52 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002285/0.8626, allocations: 429.9 kB / 0.6693 GB, free: 5.098 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001296/0.8639, allocations: 0.8722 MB / 0.6702 GB, free: 4.168 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002522/0.8642, allocations: 215.5 kB / 0.6704 GB, free: 3.922 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/0.8643, allocations: 51.89 kB / 0.6704 GB, free: 3.871 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001263/0.8656, allocations: 0.7563 MB / 0.6712 GB, free: 3.113 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/0.8668, allocations: 0.7547 MB / 0.6719 GB, free: 2.348 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.8668, allocations: 3.984 kB / 0.6719 GB, free: 2.344 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-05/0.8669, allocations: 7.922 kB / 0.6719 GB, free: 2.336 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.59e-05/0.8669, allocations: 16 kB / 0.6719 GB, free: 2.32 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1344/1.001, allocations: 3.691 MB / 0.6756 GB, free: 141.6 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001548/1.003, allocations: 0.9282 MB / 0.6765 GB, free: 141.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005759/1.003, allocations: 467.3 kB / 0.6769 GB, free: 141.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.368e-05/1.004, allocations: 21.83 kB / 0.6769 GB, free: 141.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.706e-05/1.004, allocations: 43.22 kB / 0.677 GB, free: 141.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=76): time 2.485e-06/1.004, allocations: 0 / 0.677 GB, free: 141.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=76): time 0.005483/1.009, allocations: 2.178 MB / 0.6791 GB, free: 141.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/1.009, allocations: 121.8 kB / 0.6792 GB, free: 141.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/1.01, allocations: 0.8607 MB / 0.6801 GB, free: 141.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.283e-05/1.01, allocations: 25.7 kB / 0.6801 GB, free: 141.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/1.01, allocations: 296.5 kB / 0.6804 GB, free: 141 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002208/1.011, allocations: 269 kB / 0.6806 GB, free: 140.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.708e-05/1.011, allocations: 0 / 0.6806 GB, free: 140.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.244e-05/1.011, allocations: 339.4 kB / 0.6809 GB, free: 140.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005929/1.011, allocations: 418.2 kB / 0.6813 GB, free: 140.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006514/1.012, allocations: 0.5135 MB / 0.6818 GB, free: 140.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006482/1.013, allocations: 461.9 kB / 0.6823 GB, free: 140.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/1.013, allocations: 0 / 0.6823 GB, free: 140.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.0062/1.019, allocations: 2.432 MB / 0.6847 GB, free: 140.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001047/1.019, allocations: 0.6173 MB / 0.6853 GB, free: 139.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/1.019, allocations: 6.75 kB / 0.6853 GB, free: 139.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003845/1.023, allocations: 1.034 MB / 0.6863 GB, free: 139.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00081/1.024, allocations: 158.8 kB / 0.6864 GB, free: 139.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007229/1.031, allocations: 4.135 MB / 0.6905 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001297/1.032, allocations: 159 kB / 0.6906 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.081e-05/1.032, allocations: 31.33 kB / 0.6906 GB, free: 138.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.53e-06/1.032, allocations: 3.875 kB / 0.6906 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006017/1.038, allocations: 2.28 MB / 0.6929 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/1.038, allocations: 4 kB / 0.6929 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003721/1.042, allocations: 1.041 MB / 0.6939 GB, free: 138.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007317/1.043, allocations: 147.5 kB / 0.694 GB, free: 138.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00696/1.05, allocations: 4.131 MB / 0.6981 GB, free: 136.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/1.051, allocations: 139.7 kB / 0.6982 GB, free: 136.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.088e-05/1.051, allocations: 27.19 kB / 0.6982 GB, free: 136.7 MB / 490.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.0002147/1.051, allocations: 123.7 kB / 0.6983 GB, free: 136.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001852/1.052, allocations: 106.5 kB / 0.6984 GB, free: 136.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005687/1.057, allocations: 2.264 MB / 0.7007 GB, free: 136.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/1.057, allocations: 11.42 kB / 0.7007 GB, free: 136.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/1.057, allocations: 7.781 kB / 0.7007 GB, free: 136.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/1.057, allocations: 7.859 kB / 0.7007 GB, free: 136.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007322/1.065, allocations: 3.708 MB / 0.7043 GB, free: 135.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/1.065, allocations: 0 / 0.7043 GB, free: 135.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007701/1.065, allocations: 108.4 kB / 0.7044 GB, free: 135.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002777/1.068, allocations: 0.8767 MB / 0.7053 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.863e-05/1.068, allocations: 12.45 kB / 0.7053 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005183/1.073, allocations: 3.109 MB / 0.7083 GB, free: 134.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/1.073, allocations: 7.906 kB / 0.7083 GB, free: 134.2 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006293/1.08, allocations: 2.929 MB / 0.7112 GB, free: 133.1 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006801/1.087, allocations: 3.959 MB / 0.715 GB, free: 131.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002516/1.087, allocations: 222.6 kB / 0.7153 GB, free: 131.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002021/1.087, allocations: 9.844 kB / 0.7153 GB, free: 131 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001197/1.088, allocations: 117.5 kB / 0.7154 GB, free: 131 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001811/1.088, allocations: 68.42 kB / 0.7154 GB, free: 131 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.758e-05/1.089, allocations: 28.2 kB / 0.7155 GB, free: 131 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0007484/1.089, allocations: 0.6646 MB / 0.7161 GB, free: 130.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002359/1.092, allocations: 0.4991 MB / 0.7166 GB, free: 130.7 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.0002312/1.092, allocations: 159.6 kB / 0.7168 GB, free: 130.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006061/1.098, allocations: 3.009 MB / 0.7197 GB, free: 129.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/1.098, allocations: 0 / 0.7197 GB, free: 129.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002378/1.1, allocations: 1.192 MB / 0.7209 GB, free: 128.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005116/1.101, allocations: 86.91 kB / 0.7209 GB, free: 128.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003958/1.105, allocations: 1.98 MB / 0.7229 GB, free: 127.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007086/1.106, allocations: 1.204 MB / 0.7241 GB, free: 126.9 MB / 490.7 MB Notification: Performance of SimCode: time 3.61e-07/1.106, allocations: 0 / 0.7241 GB, free: 126.9 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_2_Network_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_2_Network.fmu > OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe 2>&1)