Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_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_release_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.001926/0.001926, allocations: 184.1 kB / 7.462 MB, free: 2.496 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.054/1.054, allocations: 221.4 MB / 229.3 MB, free: 3.031 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.0008477/0.0008477, allocations: 101.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.1.0-master/package.mo): time 0.3656/0.3656, allocations: 78.1 MB / 409 MB, free: 15.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1162/0.4818, allocations: 75.51 MB / 484.5 MB, free: 4.473 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.7057, allocations: 69.35 MB / 0.5409 GB, free: 21.44 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1055/0.8113, allocations: 108.8 MB / 0.6471 GB, free: 12.07 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001849/0.8115, allocations: 83.89 kB / 0.6472 GB, free: 11.99 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.2772/1.089, allocations: 47.24 MB / 0.6933 GB, free: 105 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.959e-05/1.089, allocations: 11.75 kB / 0.6934 GB, free: 105 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001898/1.091, allocations: 461.6 kB / 0.6938 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001833/1.092, allocations: 1.312 MB / 0.6951 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003397/1.093, allocations: 353.3 kB / 0.6954 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001617/1.093, allocations: 78.3 kB / 0.6955 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001762/1.095, allocations: 1.183 MB / 0.6966 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001669/1.096, allocations: 1.207 MB / 0.6978 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/1.096, allocations: 0 / 0.6978 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/1.097, allocations: 3.688 kB / 0.6978 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.743e-05/1.097, allocations: 25.19 kB / 0.6978 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008931/1.106, allocations: 5.929 MB / 0.7036 GB, free: 99.38 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001932/1.107, allocations: 1.048 MB / 0.7047 GB, free: 98.88 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009083/1.108, allocations: 0.6508 MB / 0.7053 GB, free: 98.55 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001048/1.108, allocations: 21.08 kB / 0.7053 GB, free: 98.55 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/1.109, allocations: 49.34 kB / 0.7054 GB, free: 98.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=120): time 2.975e-06/1.109, allocations: 0 / 0.7054 GB, free: 98.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=124): time 0.01042/1.119, allocations: 5.14 MB / 0.7104 GB, free: 96.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/1.119, allocations: 232 kB / 0.7106 GB, free: 95.94 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00154/1.121, allocations: 1.263 MB / 0.7118 GB, free: 95.39 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.87e-05/1.121, allocations: 27.05 kB / 0.7119 GB, free: 95.36 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002286/1.121, allocations: 450.3 kB / 0.7123 GB, free: 95.06 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004794/1.121, allocations: 437.2 kB / 0.7127 GB, free: 94.72 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.38e-05/1.121, allocations: 0 / 0.7127 GB, free: 94.72 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.817e-05/1.122, allocations: 361.8 kB / 0.7131 GB, free: 94.39 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009611/1.123, allocations: 0.6453 MB / 0.7137 GB, free: 94.08 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001065/1.124, allocations: 0.8148 MB / 0.7145 GB, free: 93.61 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001114/1.125, allocations: 0.7333 MB / 0.7152 GB, free: 93.27 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/1.125, allocations: 3.906 kB / 0.7152 GB, free: 93.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.006049/1.131, allocations: 2.915 MB / 0.718 GB, free: 91 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001409/1.131, allocations: 1 MB / 0.719 GB, free: 89.92 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/1.131, allocations: 4 kB / 0.719 GB, free: 89.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005248/1.136, allocations: 1.774 MB / 0.7208 GB, free: 88.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007662/1.137, allocations: 183.8 kB / 0.7209 GB, free: 88.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004337/1.141, allocations: 3.295 MB / 0.7242 GB, free: 84.78 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001804/1.143, allocations: 195.9 kB / 0.7243 GB, free: 84.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/1.143, allocations: 48 kB / 0.7244 GB, free: 84.54 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.96e-06/1.143, allocations: 4 kB / 0.7244 GB, free: 84.54 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005414/1.149, allocations: 2.633 MB / 0.727 GB, free: 81.89 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/1.149, allocations: 0 / 0.727 GB, free: 81.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005038/1.154, allocations: 1.736 MB / 0.7287 GB, free: 80.15 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007835/1.155, allocations: 191.7 kB / 0.7288 GB, free: 79.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006053/1.161, allocations: 4.522 MB / 0.7333 GB, free: 75.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00193/1.163, allocations: 183.6 kB / 0.7334 GB, free: 75.13 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/1.163, allocations: 48 kB / 0.7335 GB, free: 75.08 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.0003079/1.163, allocations: 132.6 kB / 0.7336 GB, free: 74.95 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002792/1.163, allocations: 169.9 kB / 0.7338 GB, free: 74.78 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00677/1.17, allocations: 2.994 MB / 0.7367 GB, free: 71.76 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/1.17, allocations: 12 kB / 0.7367 GB, free: 71.75 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/1.17, allocations: 4 kB / 0.7367 GB, free: 71.75 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/1.17, allocations: 11.97 kB / 0.7367 GB, free: 71.73 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008823/1.179, allocations: 5.161 MB / 0.7418 GB, free: 66.53 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/1.179, allocations: 8.062 kB / 0.7418 GB, free: 66.52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002729/1.182, allocations: 0.5307 MB / 0.7423 GB, free: 65.99 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002956/1.185, allocations: 1.035 MB / 0.7433 GB, free: 64.95 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001299/1.185, allocations: 23.36 kB / 0.7433 GB, free: 64.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008684/1.194, allocations: 8.314 MB / 0.7514 GB, free: 56.17 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/1.194, allocations: 3.984 kB / 0.7514 GB, free: 56.17 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007909/1.201, allocations: 3.985 MB / 0.7553 GB, free: 52.14 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008859/1.21, allocations: 5.311 MB / 0.7605 GB, free: 46.78 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003464/1.211, allocations: 270.9 kB / 0.7608 GB, free: 46.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000283/1.211, allocations: 19.98 kB / 0.7608 GB, free: 46.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00171/1.213, allocations: 191.8 kB / 0.761 GB, free: 46.29 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002329/1.213, allocations: 104.8 kB / 0.7611 GB, free: 46.19 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.209e-05/1.213, allocations: 35.98 kB / 0.7611 GB, free: 46.15 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001079/1.214, allocations: 0.9502 MB / 0.762 GB, free: 45.21 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002605/1.217, allocations: 0.5779 MB / 0.7626 GB, free: 44.63 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.0002743/1.217, allocations: 173.3 kB / 0.7628 GB, free: 44.46 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009584/1.227, allocations: 4.461 MB / 0.7671 GB, free: 39.89 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/1.227, allocations: 0 / 0.7671 GB, free: 39.89 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00513/1.232, allocations: 2.191 MB / 0.7693 GB, free: 37.63 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008372/1.233, allocations: 155.6 kB / 0.7694 GB, free: 37.48 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005677/1.238, allocations: 2.933 MB / 0.7723 GB, free: 34.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00114/1.239, allocations: 1.529 MB / 0.7738 GB, free: 32.95 MB / 490.7 MB Notification: Performance of SimCode: time 2.5e-07/1.239, allocations: 0 / 0.7738 GB, free: 32.95 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network3.fmu > OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe 2>&1)