Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.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.TwoAreas.Two_Areas_PSSE_AVR,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001332/0.001332, allocations: 183 kB / 15.98 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.547/1.547, allocations: 205.1 MB / 221.8 MB, free: 8.48 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.00108/0.00108, allocations: 106.3 kB / 269.2 MB, free: 8.43 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.07851/0.07851, allocations: 12.59 MB / 329.1 MB, free: 12.4 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2983/0.2983, allocations: 78.51 MB / 457.8 MB, free: 13.71 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.002663/0.002663, allocations: 114 kB / 0.5254 GB, free: 19.72 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1916/0.1942, allocations: 68.13 MB / 0.592 GB, free: 15.66 MB / 394.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR): time 0.01921/0.2135, allocations: 20.27 MB / 0.6118 GB, free: 11.29 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01756/0.2311, allocations: 6.443 MB / 0.6181 GB, free: 4.832 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009049/0.2402, allocations: 40 kB / 0.6181 GB, free: 4.793 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005101/0.2454, allocations: 0.757 MB / 0.6188 GB, free: 4.031 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01105/0.2565, allocations: 2.383 MB / 0.6212 GB, free: 1.656 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006496/0.263, allocations: 2.011 MB / 0.6231 GB, free: 15.67 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.01254/0.2756, allocations: 6.859 MB / 0.6298 GB, free: 8.793 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003647/0.2793, allocations: 1.214 MB / 0.631 GB, free: 7.523 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00551/0.2848, allocations: 2.283 MB / 0.6332 GB, free: 5.23 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006531/0.2914, allocations: 2.998 MB / 0.6362 GB, free: 2.219 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002961/0.2944, allocations: 304 kB / 0.6365 GB, free: 1.922 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003692/0.2981, allocations: 0.5466 MB / 0.637 GB, free: 1.375 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002737/0.3009, allocations: 1.1 MB / 0.6381 GB, free: 276 kB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.3098/0.6107, allocations: 2.465 MB / 0.6405 GB, free: 20.61 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0132/0.6239, allocations: 7.84 MB / 0.6481 GB, free: 19.76 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.624, allocations: 0 / 0.6481 GB, free: 19.76 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.624, allocations: 0 / 0.6481 GB, free: 19.76 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003576/0.6243, allocations: 0.8125 kB / 0.6481 GB, free: 19.76 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 691 * Number of variables: 691 Notification: Performance of Generate backend data structure: time 0.05245/0.6768, allocations: 10.54 MB / 0.6584 GB, free: 16.73 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/0.6769, allocations: 13.52 kB / 0.6584 GB, free: 16.72 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01422/0.6911, allocations: 1.937 MB / 0.6603 GB, free: 16.05 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01164/0.7028, allocations: 3.353 MB / 0.6636 GB, free: 14.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001409/0.7042, allocations: 1.011 MB / 0.6646 GB, free: 13.86 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002353/0.7066, allocations: 321.6 kB / 0.6649 GB, free: 13.86 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01549/0.7222, allocations: 3.962 MB / 0.6688 GB, free: 11.97 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001446/0.7223, allocations: 0 / 0.6688 GB, free: 11.97 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001384/0.7237, allocations: 111.3 kB / 0.6689 GB, free: 11.89 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.286e-05/0.7238, allocations: 66.53 kB / 0.6689 GB, free: 11.89 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01118/0.735, allocations: 3.803 MB / 0.6726 GB, free: 10.03 MB / 426.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04174/0.7768, allocations: 15.59 MB / 0.6879 GB, free: 13.9 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01827/0.7951, allocations: 6.456 MB / 0.6942 GB, free: 7.469 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006747/0.8019, allocations: 2.428 MB / 0.6965 GB, free: 5.02 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001263/0.8032, allocations: 0.7643 MB / 0.6973 GB, free: 4.098 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008732/0.812, allocations: 2.868 MB / 0.7001 GB, free: 1.184 MB / 442.7 MB Notification: Performance of pre-optimization done (n=331): time 1.203e-05/0.812, allocations: 0 / 0.7001 GB, free: 1.184 MB / 442.7 MB Notification: Performance of matching and sorting (n=331): time 0.1197/0.9317, allocations: 25.86 MB / 0.7253 GB, free: 7.48 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001697/0.9319, allocations: 192.8 kB / 0.7255 GB, free: 7.254 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01618/0.9481, allocations: 4.529 MB / 0.73 GB, free: 2.727 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002232/0.9504, allocations: 108.4 kB / 0.7301 GB, free: 2.617 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003104/0.9535, allocations: 1.744 MB / 0.7318 GB, free: 0.8828 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004159/0.9577, allocations: 1.198 MB / 0.7329 GB, free: 15.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004599/0.9624, allocations: 1.066 MB / 0.734 GB, free: 14.62 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.9625, allocations: 305.1 kB / 0.7343 GB, free: 14.32 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007107/0.9696, allocations: 3.014 MB / 0.7372 GB, free: 11.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008535/0.9782, allocations: 3.54 MB / 0.7407 GB, free: 7.668 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01627/0.9945, allocations: 6.11 MB / 0.7466 GB, free: 1.457 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.714e-05/0.9946, allocations: 0 / 0.7466 GB, free: 1.457 MB / 490.7 MB Notification: Performance of matching and sorting (n=739) (initialization): time 0.02848/1.023, allocations: 9.396 MB / 0.7558 GB, free: 8.039 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.68e-05/1.023, allocations: 7.984 kB / 0.7558 GB, free: 8.031 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.626e-05/1.023, allocations: 12 kB / 0.7558 GB, free: 8.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02718/1.05, allocations: 10.29 MB / 0.7659 GB, free: 13.72 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005967/1.056, allocations: 0.9856 MB / 0.7668 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01799/1.074, allocations: 6.288 MB / 0.773 GB, free: 6.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009775/1.084, allocations: 0.7262 MB / 0.7737 GB, free: 5.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001445/1.086, allocations: 195.9 kB / 0.7739 GB, free: 5.559 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3,$whenCondition6,$whenCondition5,$whenCondition8,$whenCondition7,g4.eSDC1A.rotatingExciterLimited.sISO.local_reset,g2.eSDC1A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (584): * Single equations (assignments): 581 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(80,72)} Notification: Performance of prepare postOptimizeDAE: time 0.00294/1.089, allocations: 0.7708 MB / 0.7746 GB, free: 4.832 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001938/1.091, allocations: 466 kB / 0.7751 GB, free: 4.371 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0395/1.13, allocations: 11.61 MB / 0.7864 GB, free: 8.773 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.821e-05/1.13, allocations: 32 kB / 0.7864 GB, free: 8.742 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.227e-05/1.13, allocations: 0 / 0.7864 GB, free: 8.742 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001235/1.13, allocations: 19.94 kB / 0.7865 GB, free: 8.723 MB / 0.5261 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05557/1.186, allocations: 17.7 MB / 0.8038 GB, free: 6.945 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.871e-05/1.186, allocations: 0 / 0.8038 GB, free: 6.945 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003504/1.19, allocations: 441.4 kB / 0.8042 GB, free: 6.535 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01739/1.207, allocations: 4.753 MB / 0.8088 GB, free: 1.777 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00144/1.209, allocations: 75.98 kB / 0.8089 GB, free: 1.703 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05486/1.263, allocations: 19.6 MB / 0.828 GB, free: 13.99 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.696e-06/1.264, allocations: 13.53 kB / 0.828 GB, free: 13.98 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6676/1.931, allocations: 97.65 MB / 0.9234 GB, free: 168.1 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002835/1.934, allocations: 0.7013 MB / 0.9241 GB, free: 167.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002911/1.937, allocations: 72 kB / 0.9242 GB, free: 167.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007537/1.945, allocations: 383.5 kB / 0.9245 GB, free: 167 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003359/1.948, allocations: 0.6079 MB / 0.9251 GB, free: 166.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000846/1.949, allocations: 99.97 kB / 0.9252 GB, free: 166.3 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.006886/1.956, allocations: 2.984 MB / 0.9281 GB, free: 163.3 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.91e-07/1.956, allocations: 0 / 0.9281 GB, free: 163.3 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.01372/1.969, allocations: 2.089 MB / 0.9302 GB, free: 161.3 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 38 (g1.g1.w,g1.g1.delta,g1.g1.Epd,g1.g1.Epq,g1.g1.PSIkd,g1.g1.PSIkq,g1.sEXS.simpleLagLim.state,g1.sEXS.leadLag.TF.x_scaled[1],g2.g2.w,g2.g2.delta,g2.g2.Epd,g2.g2.Epq,g2.g2.PSIkd,g2.g2.PSIkq,g2.eSDC1A.imDerivativeLag.x,g2.eSDC1A.imLeadLag.TF.x_scaled[1],g2.eSDC1A.simpleLagLim.state,g2.eSDC1A.rotatingExciterLimited.sISO.y,g2.eSDC1A.TransducerDelay.state,g3.g3.w,g3.g3.delta,g3.g3.Epd,g3.g3.Epq,g3.g3.PSIkd,g3.g3.PSIkq,g3.sEXS.simpleLagLim.state,g3.sEXS.leadLag.TF.x_scaled[1],g4.gENSAL.w,g4.gENSAL.delta,g4.gENSAL.Epd,g4.gENSAL.Epq,g4.gENSAL.PSIkd,g4.gENSAL.PSIkq,g4.eSDC1A.imDerivativeLag.x,g4.eSDC1A.imLeadLag.TF.x_scaled[1],g4.eSDC1A.simpleLagLim.state,g4.eSDC1A.rotatingExciterLimited.sISO.y,g4.eSDC1A.TransducerDelay.state) * Number of discrete variables: 8 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (238): * Single equations (assignments): 237 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(54,52)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001572/1.971, allocations: 262.7 kB / 0.9304 GB, free: 161 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02345/1.995, allocations: 7.845 MB / 0.9381 GB, free: 153.1 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.878e-06/1.995, allocations: 5.375 kB / 0.9381 GB, free: 153.1 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01559/2.01, allocations: 4.41 MB / 0.9424 GB, free: 148.7 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007195/2.017, allocations: 395.7 kB / 0.9428 GB, free: 148.3 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03056/2.048, allocations: 14.39 MB / 0.9568 GB, free: 133.9 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00335/2.051, allocations: 2.469 MB / 0.9592 GB, free: 131.4 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0045/2.056, allocations: 0.4893 MB / 0.9597 GB, free: 130.9 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003962/2.06, allocations: 287.4 kB / 0.96 GB, free: 130.6 MB / 0.5886 GB Notification: Performance of SimCode: time 2.324e-06/2.06, allocations: 7.938 kB / 0.96 GB, free: 130.6 MB / 0.5886 GB Notification: Performance of Templates: time 0.1735/2.234, allocations: 107 MB / 1.065 GB, free: 23.59 MB / 0.5886 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe 2>&1)