Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.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.Tests.Controls.PSSE.ES.EXNI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXNI") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.EXNI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXNI") [: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.002374/0.002374, allocations: 193.2 kB / 7.46 MB, free: 2.516 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.122/1.122, allocations: 205.2 MB / 213.1 MB, free: 13.93 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.0008846/0.0008843, allocations: 89.98 kB / 261.1 MB, free: 13.62 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.07144/0.07144, allocations: 12.58 MB / 321.6 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2873/0.2873, allocations: 78.05 MB / 450.4 MB, free: 3.211 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.743e-06/6.783e-06, allocations: 0 / 0.5141 GB, free: 30 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1244, allocations: 69.32 MB / 0.5818 GB, free: 8.77 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3698/0.4943, allocations: 111.1 MB / 0.6903 GB, free: 13.17 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002919/0.4947, allocations: 83.45 kB / 0.6904 GB, free: 13.13 MB / 442.7 MB Notification: Performance of FrontEnd: time 0.1167/0.6114, allocations: 40.44 MB / 0.7299 GB, free: 12.1 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001371/0.6116, allocations: 28 kB / 0.7299 GB, free: 12.07 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: 254 * Number of variables: 254 Notification: Performance of Generate backend data structure: time 0.006797/0.6184, allocations: 2.12 MB / 0.732 GB, free: 10.05 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.6184, allocations: 11.97 kB / 0.732 GB, free: 10.04 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003793/0.6222, allocations: 0.5797 MB / 0.7326 GB, free: 9.504 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003058/0.6253, allocations: 0.9848 MB / 0.7335 GB, free: 8.699 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006296/0.626, allocations: 429.5 kB / 0.734 GB, free: 8.211 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000513/0.6265, allocations: 71.77 kB / 0.734 GB, free: 8.145 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002642/0.6292, allocations: 1.074 MB / 0.7351 GB, free: 7.496 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002346/0.6315, allocations: 1.087 MB / 0.7361 GB, free: 6.742 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.704e-05/0.6316, allocations: 0 / 0.7361 GB, free: 6.742 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001202/0.6317, allocations: 3.938 kB / 0.7361 GB, free: 6.738 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.535e-05/0.6317, allocations: 24 kB / 0.7362 GB, free: 6.715 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01107/0.6428, allocations: 4.806 MB / 0.7408 GB, free: 2.906 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002122/0.645, allocations: 1.131 MB / 0.742 GB, free: 2.145 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001058/0.6461, allocations: 0.686 MB / 0.7426 GB, free: 1.77 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000159/0.6462, allocations: 28.59 kB / 0.7427 GB, free: 1.742 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.6463, allocations: 46.38 kB / 0.7427 GB, free: 1.699 MB / 474.7 MB Notification: Performance of pre-optimization done (n=127): time 4.228e-06/0.6463, allocations: 0 / 0.7427 GB, free: 1.699 MB / 474.7 MB Notification: Performance of matching and sorting (n=127): time 0.01699/0.6633, allocations: 5.24 MB / 0.7478 GB, free: 12.97 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.772e-05/0.6634, allocations: 141.5 kB / 0.7479 GB, free: 12.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002222/0.6656, allocations: 1.019 MB / 0.7489 GB, free: 11.78 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002513/0.6659, allocations: 29.7 kB / 0.749 GB, free: 11.74 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002919/0.6662, allocations: 386.8 kB / 0.7493 GB, free: 11.36 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007607/0.667, allocations: 441.3 kB / 0.7498 GB, free: 10.92 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.6671, allocations: 4 kB / 0.7498 GB, free: 10.91 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.6673, allocations: 353.9 kB / 0.7501 GB, free: 10.56 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001156/0.6685, allocations: 0.5611 MB / 0.7507 GB, free: 10 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001261/0.6697, allocations: 0.7288 MB / 0.7514 GB, free: 9.219 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001339/0.6711, allocations: 0.6272 MB / 0.752 GB, free: 8.594 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.6711, allocations: 0 / 0.752 GB, free: 8.594 MB / 490.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.004601/0.6757, allocations: 2.065 MB / 0.754 GB, free: 6.52 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009541/0.6767, allocations: 1.433 MB / 0.7554 GB, free: 4.949 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.24e-05/0.6767, allocations: 4 kB / 0.7554 GB, free: 4.945 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009099/0.6858, allocations: 2.595 MB / 0.7579 GB, free: 2.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008597/0.6867, allocations: 159.7 kB / 0.7581 GB, free: 2.184 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006323/0.6931, allocations: 2.898 MB / 0.7609 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002322/0.6954, allocations: 230.8 kB / 0.7611 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002402/0.6957, allocations: 55.88 kB / 0.7612 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.6957, allocations: 4 kB / 0.7612 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003869/0.6996, allocations: 1.863 MB / 0.763 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.6996, allocations: 4 kB / 0.763 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008835/0.7084, allocations: 2.584 MB / 0.7655 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008848/0.7093, allocations: 159.7 kB / 0.7657 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006097/0.7154, allocations: 2.882 MB / 0.7685 GB, free: 7.453 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002218/0.7177, allocations: 211 kB / 0.7687 GB, free: 7.246 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000185/0.7179, allocations: 47.98 kB / 0.7687 GB, free: 7.199 MB / 0.4948 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: eXNI.ECOMP0:VARIABLE(fixed = false protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 1 (eXNI.booleanConstant.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {34 45} Notification: Performance of prepare postOptimizeDAE: time 0.0004055/0.7183, allocations: 123 kB / 0.7689 GB, free: 7.074 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004997/0.7188, allocations: 158 kB / 0.769 GB, free: 6.918 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0168/0.7356, allocations: 5.384 MB / 0.7743 GB, free: 1.512 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.922e-05/0.7357, allocations: 16 kB / 0.7743 GB, free: 1.496 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.868e-06/0.7357, allocations: 3.938 kB / 0.7743 GB, free: 1.492 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.634e-05/0.7357, allocations: 7.969 kB / 0.7743 GB, free: 1.484 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02086/0.7566, allocations: 7.276 MB / 0.7814 GB, free: 10.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.82e-05/0.7567, allocations: 0 / 0.7814 GB, free: 10.11 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001114/0.7578, allocations: 143.8 kB / 0.7815 GB, free: 9.969 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007289/0.7651, allocations: 2.123 MB / 0.7836 GB, free: 7.836 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003004/0.7655, allocations: 11.98 kB / 0.7836 GB, free: 7.824 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02063/0.7861, allocations: 8.674 MB / 0.7921 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.7861, allocations: 0 / 0.7921 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01863/0.8048, allocations: 6.392 MB / 0.7983 GB, free: 8.473 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008356/0.8057, allocations: 262.8 kB / 0.7986 GB, free: 8.195 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000666/0.8063, allocations: 8 kB / 0.7986 GB, free: 8.188 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0022/0.8086, allocations: 159.9 kB / 0.7988 GB, free: 8.031 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004887/0.8091, allocations: 141 kB / 0.7989 GB, free: 7.895 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001567/0.8092, allocations: 35.98 kB / 0.7989 GB, free: 7.859 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.001639/0.8109, allocations: 0.7734 MB / 0.7997 GB, free: 7.082 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003117/0.814, allocations: 0.7017 MB / 0.8004 GB, free: 6.379 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 13 (gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,eXNI.derivativeLag.x,eXNI.simpleLag1.state,eXNI.TransducerDelay.state,eXNI.VR.state,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005279/0.8146, allocations: 155 kB / 0.8005 GB, free: 6.219 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01426/0.8288, allocations: 4.21 MB / 0.8046 GB, free: 1.996 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/0.8289, allocations: 4.125 kB / 0.8046 GB, free: 1.992 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.006328/0.8352, allocations: 1.919 MB / 0.8065 GB, free: 56 kB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001577/0.8368, allocations: 105.1 kB / 0.8066 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008099/0.845, allocations: 2.539 MB / 0.8091 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001424/0.8464, allocations: 1.345 MB / 0.8104 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of SimCode: time 1.032e-06/0.8464, allocations: 0 / 0.8104 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of Templates: time 0.06153/0.908, allocations: 35.52 MB / 0.8451 GB, free: 8.441 MB / 0.573 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXNI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe 2>&1)