Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_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_dev_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.001246/0.001246, allocations: 185.2 kB / 7.463 MB, free: 1.539 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.129/1.129, allocations: 221.4 MB / 229.3 MB, free: 8.441 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009022/0.0009022, allocations: 90.56 kB / 280.1 MB, free: 7.832 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4137/0.4137, allocations: 78.91 MB / 409.8 MB, free: 4.777 MB / 290.8 MB Notification: Performance of FrontEnd - loaded program: time 0.1426/0.5563, allocations: 75.66 MB / 485.5 MB, free: 9.434 MB / 370.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.8147, allocations: 69.5 MB / 0.542 GB, free: 15 MB / 370.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1131/0.9278, allocations: 101 MB / 0.6406 GB, free: 9.879 MB / 466.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002109/0.9281, allocations: 83.95 kB / 0.6406 GB, free: 9.797 MB / 466.8 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.2765/1.205, allocations: 30.98 MB / 0.6709 GB, free: 102.2 MB / 482.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/1.205, allocations: 7.844 kB / 0.6709 GB, free: 102.2 MB / 482.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002433/1.207, allocations: 429.8 kB / 0.6713 GB, free: 102.1 MB / 482.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001541/1.209, allocations: 0.8786 MB / 0.6722 GB, free: 101.8 MB / 482.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002421/1.209, allocations: 222 kB / 0.6724 GB, free: 101.6 MB / 482.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001785/1.209, allocations: 44.31 kB / 0.6724 GB, free: 101.6 MB / 482.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00128/1.21, allocations: 0.7509 MB / 0.6732 GB, free: 101.6 MB / 482.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/1.212, allocations: 0.7632 MB / 0.6739 GB, free: 101.6 MB / 482.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/1.212, allocations: 0 / 0.6739 GB, free: 101.6 MB / 482.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.942e-05/1.212, allocations: 3.906 kB / 0.6739 GB, free: 101.6 MB / 482.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/1.212, allocations: 15.91 kB / 0.6739 GB, free: 101.6 MB / 482.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005819/1.218, allocations: 3.682 MB / 0.6775 GB, free: 100.6 MB / 482.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0016/1.219, allocations: 0.9365 MB / 0.6784 GB, free: 100.6 MB / 482.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006152/1.22, allocations: 462.2 kB / 0.6789 GB, free: 100.6 MB / 482.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.82e-05/1.22, allocations: 18.3 kB / 0.6789 GB, free: 100.6 MB / 482.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/1.22, allocations: 40.34 kB / 0.6789 GB, free: 100.5 MB / 482.8 MB Notification: Performance of pre-optimization done (n=76): time 1.913e-06/1.22, allocations: 0 / 0.6789 GB, free: 100.5 MB / 482.8 MB Notification: Performance of matching and sorting (n=76): time 0.005907/1.226, allocations: 2.184 MB / 0.6811 GB, free: 100.1 MB / 482.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/1.226, allocations: 115.2 kB / 0.6812 GB, free: 99.93 MB / 482.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/1.227, allocations: 0.8659 MB / 0.682 GB, free: 99.52 MB / 482.8 MB Notification: Performance of collectPreVariables (initialization): time 6.988e-05/1.227, allocations: 25.7 kB / 0.682 GB, free: 99.48 MB / 482.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.000146/1.227, allocations: 301.8 kB / 0.6823 GB, free: 99.28 MB / 482.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002295/1.227, allocations: 261.8 kB / 0.6826 GB, free: 99.07 MB / 482.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.979e-05/1.228, allocations: 3.719 kB / 0.6826 GB, free: 99.07 MB / 482.8 MB Notification: Performance of setup shared object (initialization): time 5.679e-05/1.228, allocations: 339.1 kB / 0.6829 GB, free: 98.75 MB / 482.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000608/1.228, allocations: 418.8 kB / 0.6833 GB, free: 98.55 MB / 482.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006493/1.229, allocations: 0.5137 MB / 0.6838 GB, free: 98.25 MB / 482.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006524/1.23, allocations: 462.3 kB / 0.6842 GB, free: 98.04 MB / 482.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/1.23, allocations: 0 / 0.6842 GB, free: 98.04 MB / 482.8 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.006478/1.236, allocations: 2.442 MB / 0.6866 GB, free: 97.3 MB / 482.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001372/1.236, allocations: 0.6129 MB / 0.6872 GB, free: 96.65 MB / 482.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.974e-06/1.236, allocations: 0 / 0.6872 GB, free: 96.65 MB / 482.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004998/1.241, allocations: 1.04 MB / 0.6882 GB, free: 96.43 MB / 482.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/1.242, allocations: 164.4 kB / 0.6884 GB, free: 96.42 MB / 482.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009156/1.251, allocations: 4.131 MB / 0.6924 GB, free: 93.99 MB / 482.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001757/1.253, allocations: 156.3 kB / 0.6926 GB, free: 93.95 MB / 482.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002144/1.253, allocations: 31.14 kB / 0.6926 GB, free: 93.94 MB / 482.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/1.253, allocations: 7.531 kB / 0.6926 GB, free: 93.94 MB / 482.8 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007357/1.261, allocations: 2.276 MB / 0.6948 GB, free: 93.32 MB / 482.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/1.261, allocations: 1.594 kB / 0.6948 GB, free: 93.32 MB / 482.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004359/1.265, allocations: 1.043 MB / 0.6959 GB, free: 93.08 MB / 482.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008361/1.266, allocations: 145 kB / 0.696 GB, free: 92.98 MB / 482.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007366/1.273, allocations: 4.128 MB / 0.7 GB, free: 89.15 MB / 482.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/1.275, allocations: 144.9 kB / 0.7002 GB, free: 89.04 MB / 482.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.421e-05/1.275, allocations: 28 kB / 0.7002 GB, free: 89.01 MB / 482.8 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.0002796/1.275, allocations: 124.8 kB / 0.7003 GB, free: 88.89 MB / 482.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002888/1.276, allocations: 113.6 kB / 0.7004 GB, free: 88.78 MB / 482.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005521/1.281, allocations: 2.265 MB / 0.7026 GB, free: 86.91 MB / 482.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/1.281, allocations: 8 kB / 0.7026 GB, free: 86.9 MB / 482.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.397e-06/1.281, allocations: 4 kB / 0.7026 GB, free: 86.9 MB / 482.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/1.281, allocations: 3.703 kB / 0.7026 GB, free: 86.9 MB / 482.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007318/1.289, allocations: 3.705 MB / 0.7063 GB, free: 83.93 MB / 482.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/1.289, allocations: 0 / 0.7063 GB, free: 83.93 MB / 482.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007859/1.289, allocations: 115.2 kB / 0.7064 GB, free: 83.84 MB / 482.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002723/1.292, allocations: 0.8753 MB / 0.7072 GB, free: 83.14 MB / 482.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.505e-05/1.292, allocations: 10.62 kB / 0.7072 GB, free: 83.13 MB / 482.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005391/1.298, allocations: 3.114 MB / 0.7103 GB, free: 80.18 MB / 482.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/1.298, allocations: 0.6094 kB / 0.7103 GB, free: 80.18 MB / 482.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006548/1.304, allocations: 2.934 MB / 0.7131 GB, free: 77.59 MB / 482.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007272/1.311, allocations: 3.964 MB / 0.717 GB, free: 73.95 MB / 482.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003119/1.312, allocations: 225.2 kB / 0.7172 GB, free: 73.72 MB / 482.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002329/1.312, allocations: 12.73 kB / 0.7172 GB, free: 73.71 MB / 482.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001271/1.313, allocations: 119 kB / 0.7174 GB, free: 73.61 MB / 482.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001836/1.313, allocations: 68.53 kB / 0.7174 GB, free: 73.54 MB / 482.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.081e-05/1.314, allocations: 29.48 kB / 0.7175 GB, free: 73.52 MB / 482.8 MB Notification: Performance of sort global known variables: time 0.0008114/1.314, allocations: 0.6641 MB / 0.7181 GB, free: 72.84 MB / 482.8 MB Notification: Performance of remove unused functions: time 0.002674/1.317, allocations: 0.4991 MB / 0.7186 GB, free: 72.34 MB / 482.8 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.000257/1.317, allocations: 148.5 kB / 0.7187 GB, free: 72.2 MB / 482.8 MB Notification: Performance of simCode: created initialization part: time 0.006307/1.324, allocations: 3.009 MB / 0.7217 GB, free: 69.09 MB / 482.8 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/1.324, allocations: 0 / 0.7217 GB, free: 69.09 MB / 482.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002482/1.326, allocations: 1.194 MB / 0.7228 GB, free: 67.85 MB / 482.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005718/1.327, allocations: 86.17 kB / 0.7229 GB, free: 67.77 MB / 482.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004524/1.331, allocations: 1.977 MB / 0.7248 GB, free: 65.79 MB / 482.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008473/1.332, allocations: 1.2 MB / 0.726 GB, free: 64.56 MB / 482.8 MB Notification: Performance of SimCode: time 9.72e-07/1.332, allocations: 4 kB / 0.726 GB, free: 64.56 MB / 482.8 MB (rm -f OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_2_Network_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_2_Network.fmu > OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe 2>&1)