Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_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_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.00292/0.00292, allocations: 180.2 kB / 7.46 MB, free: 1.934 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.166/1.166, allocations: 221.4 MB / 229.3 MB, free: 7.695 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.0009573/0.0009576, allocations: 93.7 kB / 280.1 MB, free: 5.496 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3927/0.3927, allocations: 78.05 MB / 408.9 MB, free: 6.508 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1279/0.5206, allocations: 75.51 MB / 484.5 MB, free: 12.57 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.6414, allocations: 69.35 MB / 0.5408 GB, free: 7.125 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3156/0.9571, allocations: 108.8 MB / 0.6471 GB, free: 7.059 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003179/0.9574, allocations: 83.95 kB / 0.6472 GB, free: 6.977 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: 274 * Number of variables: 274 Notification: Performance of Generate backend data structure: time 0.1348/1.092, allocations: 47.24 MB / 0.6933 GB, free: 7.742 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/1.092, allocations: 15.98 kB / 0.6933 GB, free: 7.727 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002793/1.095, allocations: 457.1 kB / 0.6938 GB, free: 7.277 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00333/1.098, allocations: 1.323 MB / 0.6951 GB, free: 5.906 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005098/1.099, allocations: 345.4 kB / 0.6954 GB, free: 5.512 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004309/1.099, allocations: 75.89 kB / 0.6955 GB, free: 5.438 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002871/1.102, allocations: 1.18 MB / 0.6966 GB, free: 4.254 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002771/1.105, allocations: 1.206 MB / 0.6978 GB, free: 2.984 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.83e-05/1.105, allocations: 0 / 0.6978 GB, free: 2.984 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000157/1.105, allocations: 4 kB / 0.6978 GB, free: 2.98 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.434e-05/1.105, allocations: 28 kB / 0.6978 GB, free: 2.953 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01355/1.119, allocations: 5.936 MB / 0.7036 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002463/1.121, allocations: 1.052 MB / 0.7046 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001181/1.123, allocations: 0.6461 MB / 0.7053 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001302/1.123, allocations: 20.83 kB / 0.7053 GB, free: 11.07 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.572e-05/1.123, allocations: 47.56 kB / 0.7053 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=120): time 4.148e-06/1.123, allocations: 4 kB / 0.7053 GB, free: 11.01 MB / 0.5105 GB Notification: Performance of matching and sorting (n=124): time 0.01389/1.137, allocations: 5.135 MB / 0.7104 GB, free: 5.801 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001219/1.137, allocations: 222.6 kB / 0.7106 GB, free: 5.535 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003004/1.14, allocations: 1.27 MB / 0.7118 GB, free: 4.262 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003925/1.14, allocations: 25.7 kB / 0.7118 GB, free: 4.23 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004144/1.141, allocations: 451.2 kB / 0.7123 GB, free: 3.781 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009824/1.142, allocations: 437.4 kB / 0.7127 GB, free: 3.348 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002552/1.142, allocations: 4 kB / 0.7127 GB, free: 3.344 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001934/1.142, allocations: 361.9 kB / 0.713 GB, free: 2.984 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001345/1.144, allocations: 0.6445 MB / 0.7137 GB, free: 2.34 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001468/1.145, allocations: 0.821 MB / 0.7145 GB, free: 1.477 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001693/1.147, allocations: 0.7283 MB / 0.7152 GB, free: 0.75 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/1.147, allocations: 0 / 0.7152 GB, free: 0.75 MB / 0.5105 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.007875/1.155, allocations: 2.91 MB / 0.718 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004573/1.155, allocations: 0.9984 MB / 0.719 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.07e-05/1.155, allocations: 9.547 kB / 0.719 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006753/1.162, allocations: 1.773 MB / 0.7207 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/1.163, allocations: 187.7 kB / 0.7209 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006672/1.17, allocations: 3.288 MB / 0.7241 GB, free: 7.418 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002698/1.173, allocations: 195.8 kB / 0.7243 GB, free: 7.227 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002683/1.173, allocations: 51.98 kB / 0.7244 GB, free: 7.176 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/1.173, allocations: 4 kB / 0.7244 GB, free: 7.172 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007095/1.18, allocations: 2.625 MB / 0.7269 GB, free: 4.535 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/1.18, allocations: 11.97 kB / 0.7269 GB, free: 4.523 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006268/1.186, allocations: 1.729 MB / 0.7286 GB, free: 2.781 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/1.187, allocations: 191.7 kB / 0.7288 GB, free: 2.594 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008182/1.196, allocations: 4.524 MB / 0.7332 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00246/1.198, allocations: 175.9 kB / 0.7334 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000305/1.198, allocations: 48 kB / 0.7334 GB, free: 13.7 MB / 0.5417 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.0005854/1.199, allocations: 124.8 kB / 0.7336 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000629/1.2, allocations: 173.8 kB / 0.7337 GB, free: 13.4 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008998/1.209, allocations: 2.996 MB / 0.7366 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.271e-05/1.209, allocations: 16 kB / 0.7367 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.791e-05/1.209, allocations: 4 kB / 0.7367 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.698e-05/1.209, allocations: 11.97 kB / 0.7367 GB, free: 10.35 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0133/1.222, allocations: 5.181 MB / 0.7417 GB, free: 5.102 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/1.222, allocations: 4 kB / 0.7417 GB, free: 5.098 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003218/1.225, allocations: 0.5385 MB / 0.7423 GB, free: 4.559 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003699/1.229, allocations: 1.019 MB / 0.7433 GB, free: 3.527 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003455/1.229, allocations: 19.98 kB / 0.7433 GB, free: 3.508 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01236/1.242, allocations: 8.306 MB / 0.7514 GB, free: 10.75 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.794e-06/1.242, allocations: 2 kB / 0.7514 GB, free: 10.75 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01069/1.253, allocations: 3.993 MB / 0.7553 GB, free: 6.707 MB / 0.5573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0123/1.265, allocations: 5.311 MB / 0.7605 GB, free: 1.332 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007194/1.266, allocations: 274.9 kB / 0.7607 GB, free: 1.043 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005843/1.266, allocations: 19.89 kB / 0.7608 GB, free: 1.023 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002244/1.269, allocations: 195.8 kB / 0.7609 GB, free: 0.832 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000344/1.269, allocations: 104.8 kB / 0.761 GB, free: 0.7266 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000141/1.269, allocations: 39.98 kB / 0.7611 GB, free: 0.6875 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.1803/1.449, allocations: 0.9432 MB / 0.762 GB, free: 203.4 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004316/1.454, allocations: 0.5741 MB / 0.7626 GB, free: 203.4 MB / 0.5573 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.0005357/1.454, allocations: 177 kB / 0.7627 GB, free: 203.3 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01097/1.465, allocations: 4.468 MB / 0.7671 GB, free: 202.7 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/1.465, allocations: 0 / 0.7671 GB, free: 202.7 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005749/1.471, allocations: 2.182 MB / 0.7692 GB, free: 202.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001255/1.472, allocations: 161 kB / 0.7694 GB, free: 202.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006286/1.479, allocations: 2.92 MB / 0.7722 GB, free: 201.5 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00112/1.48, allocations: 1.534 MB / 0.7737 GB, free: 200.8 MB / 0.5573 GB Notification: Performance of SimCode: time 7.22e-07/1.48, allocations: 0 / 0.7737 GB, free: 200.8 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network3.fmu > OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe 2>&1)