Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.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_1.Network3,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network3",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.002874/0.002873, allocations: 179.8 kB / 7.458 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.149/1.149, allocations: 221.4 MB / 229.3 MB, free: 3.004 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.00101/0.00101, allocations: 105.8 kB / 280.1 MB, free: 1.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4066/0.4066, allocations: 78.93 MB / 409.8 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1351/0.5418, allocations: 75.65 MB / 485.5 MB, free: 3.543 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.8142, allocations: 69.49 MB / 0.542 GB, free: 21.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1233/0.9375, allocations: 109.5 MB / 0.6489 GB, free: 10.44 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/0.9378, allocations: 83.95 kB / 0.649 GB, free: 10.36 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 274 * Number of variables: 274 Notification: Performance of Generate backend data structure: time 0.3336/1.271, allocations: 45.54 MB / 0.6935 GB, free: 105.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/1.272, allocations: 15.75 kB / 0.6935 GB, free: 105.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002577/1.274, allocations: 459.3 kB / 0.6939 GB, free: 105.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002833/1.277, allocations: 1.314 MB / 0.6952 GB, free: 104.6 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004195/1.277, allocations: 344.5 kB / 0.6955 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003199/1.278, allocations: 75.73 kB / 0.6956 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002211/1.28, allocations: 1.184 MB / 0.6968 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00223/1.282, allocations: 1.203 MB / 0.698 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.109e-05/1.282, allocations: 1.375 kB / 0.698 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001356/1.282, allocations: 0 / 0.698 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.754e-05/1.282, allocations: 26.47 kB / 0.698 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01107/1.294, allocations: 5.942 MB / 0.7038 GB, free: 99.83 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002284/1.296, allocations: 1.044 MB / 0.7048 GB, free: 99.34 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001186/1.297, allocations: 0.6575 MB / 0.7054 GB, free: 99 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001268/1.297, allocations: 13.34 kB / 0.7055 GB, free: 99 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/1.297, allocations: 49.44 kB / 0.7055 GB, free: 98.95 MB / 490.7 MB Notification: Performance of pre-optimization done (n=120): time 3.256e-06/1.297, allocations: 0.8438 kB / 0.7055 GB, free: 98.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=124): time 0.01282/1.31, allocations: 5.146 MB / 0.7105 GB, free: 96.65 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.737e-05/1.31, allocations: 219.6 kB / 0.7107 GB, free: 96.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002465/1.313, allocations: 1.274 MB / 0.712 GB, free: 95.85 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002231/1.313, allocations: 25.7 kB / 0.712 GB, free: 95.82 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000328/1.313, allocations: 447.1 kB / 0.7124 GB, free: 95.52 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006971/1.314, allocations: 438 kB / 0.7128 GB, free: 95.18 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/1.314, allocations: 4 kB / 0.7129 GB, free: 95.17 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001307/1.314, allocations: 361.9 kB / 0.7132 GB, free: 94.84 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001214/1.315, allocations: 0.6429 MB / 0.7138 GB, free: 94.54 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001314/1.317, allocations: 0.8178 MB / 0.7146 GB, free: 93.91 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001342/1.318, allocations: 0.733 MB / 0.7153 GB, free: 93.25 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.87e-06/1.318, allocations: 3.906 kB / 0.7153 GB, free: 93.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.006836/1.325, allocations: 2.911 MB / 0.7182 GB, free: 90.63 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001923/1.325, allocations: 1.002 MB / 0.7192 GB, free: 89.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/1.325, allocations: 0 / 0.7192 GB, free: 89.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005606/1.331, allocations: 1.789 MB / 0.7209 GB, free: 87.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008581/1.332, allocations: 183.7 kB / 0.7211 GB, free: 87.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00484/1.337, allocations: 3.29 MB / 0.7243 GB, free: 84.29 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00224/1.339, allocations: 203.9 kB / 0.7245 GB, free: 84.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001544/1.339, allocations: 51.98 kB / 0.7245 GB, free: 84.04 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.574e-06/1.339, allocations: 4 kB / 0.7245 GB, free: 84.03 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005809/1.345, allocations: 2.621 MB / 0.7271 GB, free: 81.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/1.345, allocations: 0 / 0.7271 GB, free: 81.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005388/1.35, allocations: 1.737 MB / 0.7288 GB, free: 79.65 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008633/1.351, allocations: 183.7 kB / 0.729 GB, free: 79.47 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006391/1.357, allocations: 4.528 MB / 0.7334 GB, free: 74.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002241/1.36, allocations: 183.9 kB / 0.7336 GB, free: 74.62 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001654/1.36, allocations: 51.23 kB / 0.7336 GB, free: 74.58 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.G1.hYGOV.SimpleLag1.u:DUMMY_DER(fixed = false ) "Connector of Real input signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 2 (G1.hYGOV.Position_Limiter.local_reset,G1.hYGOV.q.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * 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: 2 {1 6,11 54} Notification: Performance of prepare postOptimizeDAE: time 0.0003603/1.36, allocations: 140.4 kB / 0.7338 GB, free: 74.43 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004352/1.361, allocations: 169.9 kB / 0.7339 GB, free: 74.27 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007309/1.368, allocations: 2.988 MB / 0.7368 GB, free: 71.25 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/1.368, allocations: 16 kB / 0.7369 GB, free: 71.24 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.535e-05/1.368, allocations: 4 kB / 0.7369 GB, free: 71.23 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.282e-05/1.368, allocations: 7.969 kB / 0.7369 GB, free: 71.23 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01038/1.379, allocations: 5.174 MB / 0.7419 GB, free: 66.01 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-06/1.379, allocations: 0 / 0.7419 GB, free: 66.01 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002984/1.382, allocations: 0.5424 MB / 0.7424 GB, free: 65.47 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002995/1.385, allocations: 1.021 MB / 0.7434 GB, free: 64.44 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001334/1.385, allocations: 19.98 kB / 0.7435 GB, free: 64.42 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009349/1.394, allocations: 8.323 MB / 0.7516 GB, free: 55.66 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/1.394, allocations: 0 / 0.7516 GB, free: 55.66 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008517/1.403, allocations: 3.985 MB / 0.7555 GB, free: 51.63 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009371/1.412, allocations: 5.314 MB / 0.7607 GB, free: 46.27 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004799/1.412, allocations: 278.9 kB / 0.7609 GB, free: 45.98 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000385/1.413, allocations: 15.98 kB / 0.761 GB, free: 45.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00192/1.415, allocations: 195.8 kB / 0.7611 GB, free: 45.77 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002598/1.415, allocations: 108.8 kB / 0.7612 GB, free: 45.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/1.415, allocations: 39.98 kB / 0.7613 GB, free: 45.62 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001308/1.416, allocations: 0.9502 MB / 0.7622 GB, free: 44.68 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003083/1.42, allocations: 0.5741 MB / 0.7628 GB, free: 44.11 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (G1.gENSAL.w,G1.gENSAL.delta,G1.gENSAL.Epq,G1.gENSAL.PSIkd,G1.gENSAL.PSIppq,G1.hYGOV.SimpleLag1.state,G1.hYGOV.q.y,G1.hYGOV.g.state,G1.hYGOV.Position_Limiter.y,G1.eXST1_1.imLeadLag.TF.x_scaled[1],G1.eXST1_1.Vm1.state,G1.eXST1_1.imDerivativeLag.x,G1.eXST1_1.TransducerDelay.state,G1.sTAB2A.transferFunction.x_scaled[1],G1.sTAB2A.transferFunction1.x_scaled[1],G1.sTAB2A.transferFunction2.x_scaled[1],G1.sTAB2A.transferFunction3.x_scaled[1],G1.sTAB2A.transferFunction4.x_scaled[1],G1.sTAB2A.transferFunction5.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 3 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(7,59.2%) 13} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.000356/1.42, allocations: 162.4 kB / 0.7629 GB, free: 43.94 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0107/1.431, allocations: 4.459 MB / 0.7673 GB, free: 39.38 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/1.431, allocations: 0 / 0.7673 GB, free: 39.38 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005673/1.436, allocations: 2.183 MB / 0.7694 GB, free: 37.12 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/1.438, allocations: 166.5 kB / 0.7696 GB, free: 36.96 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007147/1.445, allocations: 2.929 MB / 0.7724 GB, free: 34 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001296/1.446, allocations: 1.529 MB / 0.7739 GB, free: 32.44 MB / 490.7 MB Notification: Performance of SimCode: time 1.032e-06/1.446, allocations: 0 / 0.7739 GB, free: 32.44 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network3.fmu > OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe 2>&1)