Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 104.1 kB / 16.41 MB, free: 6.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 222.9 MB / 240.1 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001822/0.001822, allocations: 180.5 kB / 290.4 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.577/0.577, allocations: 91.9 MB / 432.4 MB, free: 9.176 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001499/0.0015, allocations: 84.17 kB / 0.5734 GB, free: 33.73 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1678, allocations: 71.29 MB / 0.643 GB, free: 3.719 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR): time 0.02099/0.1888, allocations: 19.54 MB / 0.6621 GB, free: 96 kB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01648/0.2054, allocations: 6.395 MB / 0.6683 GB, free: 9.68 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006673/0.2121, allocations: 43.94 kB / 0.6684 GB, free: 9.637 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005214/0.2174, allocations: 0.9646 MB / 0.6693 GB, free: 8.664 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01199/0.2295, allocations: 2.4 MB / 0.6716 GB, free: 6.254 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007106/0.2366, allocations: 2.181 MB / 0.6738 GB, free: 4.09 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.01396/0.2506, allocations: 7.027 MB / 0.6806 GB, free: 13.04 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004116/0.2548, allocations: 1.318 MB / 0.6819 GB, free: 11.67 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007012/0.2618, allocations: 2.685 MB / 0.6845 GB, free: 8.973 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007093/0.269, allocations: 3.291 MB / 0.6878 GB, free: 5.668 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003795/0.2728, allocations: 0.6719 MB / 0.6884 GB, free: 4.996 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00451/0.2774, allocations: 0.9528 MB / 0.6893 GB, free: 4.043 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003813/0.2812, allocations: 1.467 MB / 0.6908 GB, free: 2.57 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007443/0.2887, allocations: 2.841 MB / 0.6936 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0157/0.3045, allocations: 8.165 MB / 0.7015 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.109e-05/0.3045, allocations: 0 / 0.7015 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.836e-06/0.3046, allocations: 0 / 0.7015 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.000354/0.3049, allocations: 0 / 0.7015 GB, free: 7.523 MB / 0.4981 GB 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.04905/0.354, allocations: 9.73 MB / 0.711 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/0.3541, allocations: 8.031 kB / 0.711 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01374/0.3678, allocations: 1.941 MB / 0.7129 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01612/0.384, allocations: 3.371 MB / 0.7162 GB, free: 8.301 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002358/0.3864, allocations: 1.001 MB / 0.7172 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002781/0.3892, allocations: 327.8 kB / 0.7175 GB, free: 6.824 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02201/0.4112, allocations: 3.949 MB / 0.7214 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002481/0.4116, allocations: 12 kB / 0.7214 GB, free: 2.789 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001654/0.4132, allocations: 111.9 kB / 0.7215 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001155/0.4134, allocations: 71.94 kB / 0.7216 GB, free: 2.609 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01869/0.4321, allocations: 3.8 MB / 0.7253 GB, free: 14.8 MB / 0.5294 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 preOpt removeSimpleEquations (simulation): time 0.04083/0.473, allocations: 15.5 MB / 0.7404 GB, free: 14.7 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01827/0.4913, allocations: 6.45 MB / 0.7467 GB, free: 8.012 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006832/0.4982, allocations: 2.439 MB / 0.7491 GB, free: 5.555 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001268/0.4995, allocations: 0.7659 MB / 0.7498 GB, free: 4.625 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008667/0.5082, allocations: 2.858 MB / 0.7526 GB, free: 1.711 MB / 0.545 GB Notification: Performance of pre-optimization done (n=331): time 1.107e-05/0.5083, allocations: 4 kB / 0.7526 GB, free: 1.707 MB / 0.545 GB Notification: Performance of matching and sorting (n=331): time 0.6116/1.12, allocations: 25.85 MB / 0.7779 GB, free: 109.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001487/1.12, allocations: 196.7 kB / 0.7781 GB, free: 109.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01215/1.132, allocations: 4.531 MB / 0.7825 GB, free: 109.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001407/1.134, allocations: 98.02 kB / 0.7826 GB, free: 109.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001766/1.136, allocations: 1.748 MB / 0.7843 GB, free: 108.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002142/1.138, allocations: 1.204 MB / 0.7855 GB, free: 107.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002564/1.14, allocations: 1.066 MB / 0.7865 GB, free: 107.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.742e-05/1.14, allocations: 301.1 kB / 0.7868 GB, free: 106.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006068/1.146, allocations: 3.022 MB / 0.7897 GB, free: 105.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006543/1.153, allocations: 3.531 MB / 0.7932 GB, free: 104 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01307/1.166, allocations: 6.113 MB / 0.7992 GB, free: 100.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.541e-05/1.166, allocations: 0 / 0.7992 GB, free: 100.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=739) (initialization): time 0.02489/1.191, allocations: 9.398 MB / 0.8083 GB, free: 93.05 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.583e-05/1.191, allocations: 9.25 kB / 0.8084 GB, free: 93.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.014e-05/1.191, allocations: 11.98 kB / 0.8084 GB, free: 93.03 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02358/1.215, allocations: 10.29 MB / 0.8184 GB, free: 82.74 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005172/1.22, allocations: 0.983 MB / 0.8194 GB, free: 81.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01716/1.237, allocations: 6.288 MB / 0.8255 GB, free: 75.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009326/1.247, allocations: 0.7331 MB / 0.8262 GB, free: 74.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001688/1.248, allocations: 199.6 kB / 0.8264 GB, free: 74.51 MB / 0.5606 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.004194/1.253, allocations: 0.7703 MB / 0.8272 GB, free: 73.73 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002495/1.255, allocations: 470 kB / 0.8276 GB, free: 73.26 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03731/1.292, allocations: 11.6 MB / 0.839 GB, free: 61.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.233e-05/1.292, allocations: 32 kB / 0.839 GB, free: 61.57 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.652e-05/1.292, allocations: 4 kB / 0.839 GB, free: 61.56 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.933e-05/1.293, allocations: 18.56 kB / 0.839 GB, free: 61.55 MB / 0.5606 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.05031/1.343, allocations: 17.66 MB / 0.8563 GB, free: 43.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.151e-05/1.343, allocations: 0 / 0.8563 GB, free: 43.73 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002959/1.346, allocations: 439.4 kB / 0.8567 GB, free: 43.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01491/1.361, allocations: 4.753 MB / 0.8613 GB, free: 38.54 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001053/1.362, allocations: 75.98 kB / 0.8614 GB, free: 38.47 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05262/1.415, allocations: 21.47 MB / 0.8824 GB, free: 16.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/1.415, allocations: 0 / 0.8824 GB, free: 16.87 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04419/1.459, allocations: 14.77 MB / 0.8968 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00221/1.461, allocations: 0.6955 MB / 0.8975 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002259/1.463, allocations: 68 kB / 0.8975 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005808/1.469, allocations: 387.5 kB / 0.8979 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002922/1.472, allocations: 0.6192 MB / 0.8985 GB, free: 232 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001263/1.473, allocations: 100.9 kB / 0.8986 GB, free: 132 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.008537/1.482, allocations: 2.988 MB / 0.9015 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.8e-07/1.482, allocations: 0 / 0.9015 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.007814/1.49, allocations: 1.437 MB / 0.9029 GB, free: 11.72 MB / 0.5762 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.001371/1.491, allocations: 241 kB / 0.9031 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.02488/1.516, allocations: 7.938 MB / 0.9109 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/1.516, allocations: 0 / 0.9109 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.01532/1.532, allocations: 4.475 MB / 0.9153 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006909/1.539, allocations: 406.5 kB / 0.9157 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02363/1.562, allocations: 9.204 MB / 0.9246 GB, free: 5.453 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003288/1.566, allocations: 2.341 MB / 0.9269 GB, free: 3.078 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002958/1.569, allocations: 287.4 kB / 0.9272 GB, free: 2.797 MB / 0.5919 GB Notification: Performance of SimCode: time 1.202e-06/1.569, allocations: 0 / 0.9272 GB, free: 2.797 MB / 0.5919 GB Notification: Performance of Templates: time 0.1269/1.695, allocations: 79.79 MB / 1.005 GB, free: 2.941 MB / 0.67 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.sim & ./OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe 2>&1)