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-master/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-master/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: translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3") translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3") [: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.003107/0.003107, allocations: 180.1 kB / 7.453 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.112/1.112, allocations: 205.2 MB / 213.1 MB, free: 13.84 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.000858/0.000858, allocations: 95.66 kB / 261.1 MB, free: 13.53 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06501/0.06501, allocations: 12.6 MB / 321.6 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.278/0.278, allocations: 78.05 MB / 450.4 MB, free: 3.191 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.06e-06/5.09e-06, allocations: 0 / 0.5141 GB, free: 29.95 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09644/0.09646, allocations: 69.32 MB / 0.5818 GB, free: 8.715 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2781/0.3746, allocations: 110.5 MB / 0.6898 GB, free: 13.92 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000203/0.3749, allocations: 79.58 kB / 0.6898 GB, free: 13.88 MB / 442.7 MB Notification: Performance of FrontEnd: time 0.1191/0.4939, allocations: 44.31 MB / 0.7331 GB, free: 9.789 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001347/0.4941, allocations: 51.88 kB / 0.7332 GB, free: 9.738 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.004522/0.4986, allocations: 2.084 MB / 0.7352 GB, free: 7.727 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.4987, allocations: 11.97 kB / 0.7352 GB, free: 7.715 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002024/0.5007, allocations: 467.1 kB / 0.7356 GB, free: 7.285 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002047/0.5028, allocations: 1.337 MB / 0.7369 GB, free: 6.285 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004299/0.5032, allocations: 344.9 kB / 0.7373 GB, free: 5.895 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001901/0.5034, allocations: 79.27 kB / 0.7374 GB, free: 5.82 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001944/0.5053, allocations: 1.178 MB / 0.7385 GB, free: 5.137 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001934/0.5073, allocations: 1.204 MB / 0.7397 GB, free: 4.266 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.339e-05/0.5073, allocations: 0 / 0.7397 GB, free: 4.266 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/0.5074, allocations: 0 / 0.7397 GB, free: 4.266 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.411e-05/0.5075, allocations: 28 kB / 0.7397 GB, free: 4.238 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00936/0.5168, allocations: 5.947 MB / 0.7455 GB, free: 15.39 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001977/0.5188, allocations: 1.048 MB / 0.7465 GB, free: 14.32 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009331/0.5198, allocations: 0.653 MB / 0.7472 GB, free: 13.66 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001041/0.5199, allocations: 20.89 kB / 0.7472 GB, free: 13.64 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.5199, allocations: 47.56 kB / 0.7472 GB, free: 13.59 MB / 490.7 MB Notification: Performance of pre-optimization done (n=120): time 3.627e-06/0.5199, allocations: 0 / 0.7472 GB, free: 13.59 MB / 490.7 MB Notification: Performance of matching and sorting (n=124): time 0.01131/0.5312, allocations: 5.131 MB / 0.7523 GB, free: 8.375 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.358e-05/0.5313, allocations: 226.6 kB / 0.7525 GB, free: 8.105 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001601/0.5329, allocations: 1.274 MB / 0.7537 GB, free: 6.828 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.864e-05/0.5331, allocations: 25.7 kB / 0.7537 GB, free: 6.797 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002674/0.5333, allocations: 455.2 kB / 0.7542 GB, free: 6.344 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005566/0.5339, allocations: 441.5 kB / 0.7546 GB, free: 5.906 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.138e-05/0.534, allocations: 4 kB / 0.7546 GB, free: 5.902 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.5341, allocations: 357.9 kB / 0.7549 GB, free: 5.547 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001025/0.5352, allocations: 0.6444 MB / 0.7556 GB, free: 4.902 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001158/0.5363, allocations: 0.8268 MB / 0.7564 GB, free: 4.027 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/0.5375, allocations: 0.7283 MB / 0.7571 GB, free: 3.301 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.5376, allocations: 0 / 0.7571 GB, free: 3.301 MB / 490.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.006784/0.5444, allocations: 2.906 MB / 0.7599 GB, free: 380 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003101/0.5447, allocations: 1.003 MB / 0.7609 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.5447, allocations: 4 kB / 0.7609 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00585/0.5506, allocations: 1.776 MB / 0.7626 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008332/0.5514, allocations: 183.7 kB / 0.7628 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005223/0.5566, allocations: 3.291 MB / 0.766 GB, free: 9.969 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001909/0.5586, allocations: 207.8 kB / 0.7662 GB, free: 9.766 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001299/0.5587, allocations: 44.08 kB / 0.7663 GB, free: 9.723 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.114e-06/0.5587, allocations: 4 kB / 0.7663 GB, free: 9.719 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006258/0.565, allocations: 2.633 MB / 0.7688 GB, free: 7.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.565, allocations: 4 kB / 0.7688 GB, free: 7.066 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005627/0.5706, allocations: 1.726 MB / 0.7705 GB, free: 5.328 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008189/0.5715, allocations: 183.7 kB / 0.7707 GB, free: 5.148 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007183/0.5787, allocations: 4.53 MB / 0.7751 GB, free: 492 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001796/0.5805, allocations: 179.8 kB / 0.7753 GB, free: 312 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001332/0.5806, allocations: 51.98 kB / 0.7754 GB, free: 260 kB / 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.0003217/0.5809, allocations: 116.8 kB / 0.7755 GB, free: 136 kB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003222/0.5813, allocations: 178 kB / 0.7756 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007705/0.589, allocations: 2.993 MB / 0.7786 GB, free: 12.94 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/0.589, allocations: 12 kB / 0.7786 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/0.589, allocations: 8 kB / 0.7786 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.589, allocations: 7.969 kB / 0.7786 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01035/0.5994, allocations: 5.176 MB / 0.7836 GB, free: 7.645 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.5994, allocations: 0 / 0.7836 GB, free: 7.645 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002901/0.6023, allocations: 0.5424 MB / 0.7842 GB, free: 7.102 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003194/0.6055, allocations: 1.013 MB / 0.7852 GB, free: 6.074 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001216/0.6057, allocations: 19.98 kB / 0.7852 GB, free: 6.055 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01031/0.616, allocations: 8.313 MB / 0.7933 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.616, allocations: 0 / 0.7933 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008673/0.6247, allocations: 3.994 MB / 0.7972 GB, free: 9.219 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003553/0.625, allocations: 282.9 kB / 0.7975 GB, free: 8.922 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002807/0.6253, allocations: 8 kB / 0.7975 GB, free: 8.914 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001842/0.6272, allocations: 195.8 kB / 0.7977 GB, free: 8.723 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002702/0.6275, allocations: 120.7 kB / 0.7978 GB, free: 8.602 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.811e-05/0.6276, allocations: 31.94 kB / 0.7978 GB, free: 8.57 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.001231/0.6288, allocations: 0.9543 MB / 0.7987 GB, free: 7.621 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001629/0.6304, allocations: 0.5624 MB / 0.7993 GB, free: 7.059 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.0003408/0.6308, allocations: 172.9 kB / 0.7995 GB, free: 6.883 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01082/0.6416, allocations: 4.473 MB / 0.8038 GB, free: 2.309 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.6416, allocations: 0 / 0.8038 GB, free: 2.309 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0058/0.6474, allocations: 2.184 MB / 0.806 GB, free: 52 kB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008605/0.6483, allocations: 159.7 kB / 0.8061 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006422/0.6548, allocations: 2.9 MB / 0.8089 GB, free: 12.94 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001297/0.6561, allocations: 1.472 MB / 0.8104 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of SimCode: time 2.6e-07/0.6561, allocations: 0 / 0.8104 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of Templates: time 0.05115/0.7072, allocations: 36.16 MB / 0.8457 GB, free: 7.266 MB / 0.573 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.makefile (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 & ./OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe 2>&1)