Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3,fileNamePrefix="OpenIPSL_2_0_0_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_2_0_0_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 3.2.3+maint.om/package.mo): time 0.0024/0.0024, allocations: 181.3 kB / 7.458 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.049/1.049, allocations: 205.2 MB / 213.1 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009146/0.0009147, allocations: 96.17 kB / 261.1 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.05813/0.05813, allocations: 12.2 MB / 321.2 MB, free: 1.293 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2698/0.2698, allocations: 78.05 MB / 449.9 MB, free: 3.656 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2065/0.4764, allocations: 76.1 MB / 0.5137 GB, free: 30.29 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.5788, allocations: 69.23 MB / 0.5813 GB, free: 9.156 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2929/0.8717, allocations: 110.4 MB / 0.6891 GB, free: 14.59 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002026/0.872, allocations: 82.14 kB / 0.6892 GB, free: 14.54 MB / 442.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.1281/1, allocations: 46.45 MB / 0.7346 GB, free: 8.395 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.436e-05/1, allocations: 11.94 kB / 0.7346 GB, free: 8.383 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002354/1.002, allocations: 462.3 kB / 0.735 GB, free: 7.957 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002565/1.005, allocations: 1.334 MB / 0.7363 GB, free: 6.961 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004798/1.006, allocations: 341.1 kB / 0.7367 GB, free: 6.574 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000281/1.006, allocations: 79.56 kB / 0.7367 GB, free: 6.5 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002344/1.008, allocations: 1.186 MB / 0.7379 GB, free: 5.809 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002187/1.01, allocations: 1.206 MB / 0.7391 GB, free: 4.938 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.521e-05/1.01, allocations: 0 / 0.7391 GB, free: 4.938 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001135/1.011, allocations: 0 / 0.7391 GB, free: 4.938 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.465e-05/1.011, allocations: 28 kB / 0.7391 GB, free: 4.91 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009729/1.02, allocations: 5.961 MB / 0.7449 GB, free: 188 kB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001995/1.022, allocations: 1.039 MB / 0.7459 GB, free: 15.12 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001031/1.023, allocations: 0.6559 MB / 0.7466 GB, free: 14.46 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001185/1.024, allocations: 16.98 kB / 0.7466 GB, free: 14.44 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/1.024, allocations: 55.56 kB / 0.7466 GB, free: 14.38 MB / 490.7 MB Notification: Performance of pre-optimization done (n=120): time 2.285e-06/1.024, allocations: 0 / 0.7466 GB, free: 14.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=124): time 0.01162/1.035, allocations: 5.123 MB / 0.7516 GB, free: 9.176 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/1.035, allocations: 226.6 kB / 0.7519 GB, free: 8.906 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001705/1.037, allocations: 1.274 MB / 0.7531 GB, free: 7.629 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001047/1.037, allocations: 29.7 kB / 0.7531 GB, free: 7.594 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002884/1.037, allocations: 451.2 kB / 0.7536 GB, free: 7.145 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005425/1.038, allocations: 433.6 kB / 0.754 GB, free: 6.715 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.636e-05/1.038, allocations: 0 / 0.754 GB, free: 6.715 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001502/1.038, allocations: 369.8 kB / 0.7543 GB, free: 6.348 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001087/1.039, allocations: 0.6406 MB / 0.755 GB, free: 5.707 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001236/1.041, allocations: 0.8229 MB / 0.7558 GB, free: 4.832 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001241/1.042, allocations: 0.7243 MB / 0.7565 GB, free: 4.109 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/1.042, allocations: 4 kB / 0.7565 GB, free: 4.105 MB / 490.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.006806/1.049, allocations: 2.913 MB / 0.7593 GB, free: 1.168 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003744/1.049, allocations: 0.9952 MB / 0.7603 GB, free: 92 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/1.049, allocations: 4 kB / 0.7603 GB, free: 88 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005838/1.055, allocations: 1.776 MB / 0.762 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008429/1.056, allocations: 191.7 kB / 0.7622 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005359/1.061, allocations: 3.284 MB / 0.7654 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002051/1.063, allocations: 195.8 kB / 0.7656 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001409/1.063, allocations: 51.98 kB / 0.7656 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/1.063, allocations: 4 kB / 0.7657 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006391/1.07, allocations: 2.637 MB / 0.7682 GB, free: 7.875 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/1.07, allocations: 0 / 0.7682 GB, free: 7.875 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005738/1.076, allocations: 1.73 MB / 0.7699 GB, free: 6.129 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008213/1.076, allocations: 191.7 kB / 0.7701 GB, free: 5.941 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007048/1.083, allocations: 4.53 MB / 0.7745 GB, free: 1.273 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001884/1.085, allocations: 175.8 kB / 0.7747 GB, free: 1.102 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/1.085, allocations: 55.98 kB / 0.7747 GB, free: 1.047 MB / 0.4948 GB 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.0003143/1.086, allocations: 120.8 kB / 0.7749 GB, free: 0.9219 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003225/1.086, allocations: 177.8 kB / 0.775 GB, free: 0.7461 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007837/1.094, allocations: 2.997 MB / 0.778 GB, free: 13.72 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.815e-05/1.094, allocations: 12 kB / 0.778 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.477e-06/1.094, allocations: 8 kB / 0.778 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.526e-05/1.094, allocations: 3.984 kB / 0.778 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01048/1.104, allocations: 5.183 MB / 0.783 GB, free: 8.434 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/1.105, allocations: 0 / 0.783 GB, free: 8.434 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002896/1.107, allocations: 0.5347 MB / 0.7836 GB, free: 7.898 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003179/1.111, allocations: 1.019 MB / 0.7846 GB, free: 6.863 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001189/1.111, allocations: 19.98 kB / 0.7846 GB, free: 6.844 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01071/1.121, allocations: 8.32 MB / 0.7927 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/1.121, allocations: 0 / 0.7927 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009088/1.131, allocations: 3.99 MB / 0.7966 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01052/1.141, allocations: 5.308 MB / 0.8018 GB, free: 4.648 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003693/1.141, allocations: 282.9 kB / 0.8021 GB, free: 4.352 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002718/1.142, allocations: 8 kB / 0.8021 GB, free: 4.344 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001884/1.144, allocations: 195.8 kB / 0.8022 GB, free: 4.152 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002765/1.144, allocations: 112.8 kB / 0.8024 GB, free: 4.039 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001086/1.144, allocations: 35.98 kB / 0.8024 GB, free: 4.004 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.001293/1.145, allocations: 0.9542 MB / 0.8033 GB, free: 3.055 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002934/1.148, allocations: 0.578 MB / 0.8039 GB, free: 2.477 MB / 0.5261 GB 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.0003333/1.149, allocations: 169.6 kB / 0.804 GB, free: 2.301 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01118/1.16, allocations: 4.462 MB / 0.8084 GB, free: 13.74 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/1.16, allocations: 4.062 kB / 0.8084 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.006063/1.166, allocations: 2.191 MB / 0.8105 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008881/1.167, allocations: 153.6 kB / 0.8107 GB, free: 11.31 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006301/1.173, allocations: 2.92 MB / 0.8135 GB, free: 8.336 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00144/1.175, allocations: 1.525 MB / 0.815 GB, free: 6.773 MB / 0.5417 GB Notification: Performance of SimCode: time 2.5e-07/1.175, allocations: 7.938 kB / 0.815 GB, free: 6.766 MB / 0.5417 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network3.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe 2>&1)