Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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 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_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_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.001129/0.001129, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.263/1.263, allocations: 222.9 MB / 238.9 MB, free: 4.715 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.001256/0.001256, allocations: 188.5 kB / 289.1 MB, free: 2.469 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4722/0.4722, allocations: 78.52 MB / 417.8 MB, free: 3.277 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.00126, allocations: 79.86 kB / 496.8 MB, free: 6.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1423, allocations: 68.16 MB / 0.5517 GB, free: 2.582 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR): time 0.2361/0.3785, allocations: 20.21 MB / 0.5714 GB, free: 27.69 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01203/0.3906, allocations: 6.476 MB / 0.5777 GB, free: 25.56 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005083/0.3957, allocations: 44.88 kB / 0.5778 GB, free: 25.55 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003326/0.399, allocations: 0.7658 MB / 0.5785 GB, free: 25.27 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007436/0.4065, allocations: 2.378 MB / 0.5809 GB, free: 24.41 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004583/0.4111, allocations: 2.011 MB / 0.5828 GB, free: 23.41 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008348/0.4195, allocations: 6.791 MB / 0.5895 GB, free: 20.15 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002131/0.4216, allocations: 1.213 MB / 0.5906 GB, free: 19.57 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003576/0.4252, allocations: 2.276 MB / 0.5929 GB, free: 18.55 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00507/0.4303, allocations: 3.001 MB / 0.5958 GB, free: 17.17 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002108/0.4324, allocations: 299.9 kB / 0.5961 GB, free: 17.17 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002335/0.4348, allocations: 0.5438 MB / 0.5966 GB, free: 17.09 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009824/0.4358, allocations: 1.111 MB / 0.5977 GB, free: 16.43 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003374/0.4392, allocations: 2.469 MB / 0.6001 GB, free: 14.8 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008557/0.4477, allocations: 7.826 MB / 0.6077 GB, free: 11.73 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.4478, allocations: 1.031 kB / 0.6077 GB, free: 11.73 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4478, allocations: 0 / 0.6077 GB, free: 11.73 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002781/0.4481, allocations: 0 / 0.6077 GB, free: 11.73 MB / 430.1 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.04598/0.4941, allocations: 10.54 MB / 0.618 GB, free: 7.434 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.4941, allocations: 8.719 kB / 0.618 GB, free: 7.434 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01307/0.5072, allocations: 1.937 MB / 0.6199 GB, free: 6.598 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008702/0.5159, allocations: 3.356 MB / 0.6232 GB, free: 4.062 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001179/0.5171, allocations: 1.006 MB / 0.6242 GB, free: 3.109 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001901/0.5191, allocations: 327.4 kB / 0.6245 GB, free: 2.996 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01204/0.5311, allocations: 3.953 MB / 0.6284 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001144/0.5313, allocations: 0 / 0.6284 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009035/0.5322, allocations: 111.7 kB / 0.6285 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.719e-05/0.5323, allocations: 65.78 kB / 0.6285 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01003/0.5423, allocations: 3.807 MB / 0.6323 GB, free: 12.93 MB / 446.1 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.03512/0.5774, allocations: 15.59 MB / 0.6475 GB, free: 12.75 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01548/0.593, allocations: 6.456 MB / 0.6538 GB, free: 6.102 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005353/0.5983, allocations: 2.44 MB / 0.6562 GB, free: 3.641 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009861/0.5994, allocations: 0.7621 MB / 0.6569 GB, free: 2.711 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006403/0.6058, allocations: 2.868 MB / 0.6597 GB, free: 15.79 MB / 478.1 MB Notification: Performance of pre-optimization done (n=331): time 5.861e-06/0.6058, allocations: 4 kB / 0.6597 GB, free: 15.79 MB / 478.1 MB Notification: Performance of matching and sorting (n=331): time 0.1051/0.711, allocations: 25.85 MB / 0.685 GB, free: 5.836 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001303/0.7111, allocations: 192.8 kB / 0.6852 GB, free: 5.609 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01047/0.7216, allocations: 4.53 MB / 0.6896 GB, free: 1.082 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001647/0.7233, allocations: 105.7 kB / 0.6897 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002159/0.7255, allocations: 1.747 MB / 0.6914 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002602/0.7281, allocations: 1.198 MB / 0.6926 GB, free: 14 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006198/0.7343, allocations: 1.07 MB / 0.6936 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.7345, allocations: 301.1 kB / 0.6939 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007918/0.7424, allocations: 3.022 MB / 0.6968 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008364/0.7508, allocations: 3.538 MB / 0.7003 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01627/0.7671, allocations: 6.106 MB / 0.7063 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.961e-05/0.7672, allocations: 4 kB / 0.7063 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of matching and sorting (n=739) (initialization): time 0.02919/0.7964, allocations: 9.393 MB / 0.7154 GB, free: 6.266 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.959e-05/0.7964, allocations: 8 kB / 0.7154 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.742e-05/0.7965, allocations: 8 kB / 0.7154 GB, free: 6.25 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02572/0.8222, allocations: 10.29 MB / 0.7255 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005444/0.8277, allocations: 0.9869 MB / 0.7265 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01868/0.8464, allocations: 6.292 MB / 0.7326 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008967/0.8555, allocations: 0.731 MB / 0.7333 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001568/0.8571, allocations: 192 kB / 0.7335 GB, free: 3.719 MB / 0.5294 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.003789/0.8609, allocations: 0.7711 MB / 0.7343 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002268/0.8632, allocations: 462.1 kB / 0.7347 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03738/0.9006, allocations: 11.61 MB / 0.746 GB, free: 6.801 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.542e-05/0.9006, allocations: 36 kB / 0.7461 GB, free: 6.766 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.692e-05/0.9007, allocations: 0 / 0.7461 GB, free: 6.766 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001177/0.9008, allocations: 15.94 kB / 0.7461 GB, free: 6.75 MB / 0.545 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.0512/0.952, allocations: 17.69 MB / 0.7634 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-05/0.9521, allocations: 3.984 kB / 0.7634 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003088/0.9552, allocations: 436.8 kB / 0.7638 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2451/1.2, allocations: 4.755 MB / 0.7684 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001277/1.202, allocations: 80.39 kB / 0.7685 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04598/1.248, allocations: 19.61 MB / 0.7876 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/1.248, allocations: 1.906 kB / 0.7877 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04564/1.293, allocations: 14.77 MB / 0.8021 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002155/1.295, allocations: 0.6916 MB / 0.8028 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001601/1.297, allocations: 68.16 kB / 0.8028 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004785/1.302, allocations: 384.2 kB / 0.8032 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002718/1.305, allocations: 0.6042 MB / 0.8038 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004087/1.305, allocations: 97.69 kB / 0.8039 GB, free: 155.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005706/1.311, allocations: 2.993 MB / 0.8068 GB, free: 154.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.71e-07/1.311, allocations: 0 / 0.8068 GB, free: 154.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00637/1.317, allocations: 1.434 MB / 0.8082 GB, free: 154.3 MB / 0.5606 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.0008108/1.318, allocations: 233 kB / 0.8084 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0206/1.339, allocations: 7.857 MB / 0.8161 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/1.339, allocations: 0 / 0.8161 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0122/1.351, allocations: 4.41 MB / 0.8204 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005159/1.356, allocations: 403.9 kB / 0.8208 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01716/1.373, allocations: 10.76 MB / 0.8313 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001726/1.375, allocations: 2.339 MB / 0.8336 GB, free: 140.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002863/1.378, allocations: 450.8 kB / 0.834 GB, free: 140 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00128/1.379, allocations: 260.8 kB / 0.8342 GB, free: 139.8 MB / 0.5606 GB Notification: Performance of SimCode: time 2.214e-06/1.379, allocations: 0 / 0.8342 GB, free: 139.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.1026/1.482, allocations: 72.49 MB / 0.905 GB, free: 70.07 MB / 0.5606 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.makefile (rm -f OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.sim & ./OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe 2>&1)