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: "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_AVR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_AVR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 99.16 kB / 15.05 MB, free: 1.105 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.356/1.356, allocations: 223.2 MB / 238.9 MB, free: 5.488 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.001521/0.001521, allocations: 185 kB / 290.2 MB, free: 2.176 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4611/0.4611, allocations: 78.53 MB / 419.8 MB, free: 4.301 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004371/0.0004377, allocations: 8 kB / 499.8 MB, free: 6.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1567, allocations: 69.35 MB / 0.5558 GB, free: 0.875 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR): time 0.2699/0.4266, allocations: 17.07 MB / 0.5724 GB, free: 32.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01179/0.4385, allocations: 6.342 MB / 0.5786 GB, free: 27.94 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004582/0.4431, allocations: 50.09 kB / 0.5787 GB, free: 27.93 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003267/0.4464, allocations: 0.6737 MB / 0.5793 GB, free: 27.63 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008637/0.4551, allocations: 2.313 MB / 0.5816 GB, free: 26.17 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004621/0.4597, allocations: 1.546 MB / 0.5831 GB, free: 25.46 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009251/0.469, allocations: 4.228 MB / 0.5872 GB, free: 23.14 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002038/0.471, allocations: 1.044 MB / 0.5882 GB, free: 22.74 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003462/0.4745, allocations: 2.133 MB / 0.5903 GB, free: 21.79 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004161/0.4787, allocations: 2.735 MB / 0.593 GB, free: 20.6 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001809/0.4805, allocations: 250.4 kB / 0.5932 GB, free: 20.6 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002218/0.4828, allocations: 476.4 kB / 0.5937 GB, free: 20.54 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008815/0.4837, allocations: 0.9899 MB / 0.5947 GB, free: 19.98 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001354/0.485, allocations: 0.8386 MB / 0.5955 GB, free: 19.44 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00765/0.4927, allocations: 6.295 MB / 0.6016 GB, free: 17.95 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.4927, allocations: 0 / 0.6016 GB, free: 17.95 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4927, allocations: 1.156 kB / 0.6016 GB, free: 17.95 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002925/0.493, allocations: 0 / 0.6016 GB, free: 17.95 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.04236/0.5354, allocations: 9.913 MB / 0.6113 GB, free: 14.69 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.5355, allocations: 9.359 kB / 0.6113 GB, free: 14.69 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002152/0.5376, allocations: 391.3 kB / 0.6117 GB, free: 14.44 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01306/0.5507, allocations: 1.947 MB / 0.6136 GB, free: 13.61 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009504/0.5602, allocations: 3.199 MB / 0.6167 GB, free: 11.24 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001311/0.5616, allocations: 1.034 MB / 0.6177 GB, free: 10.29 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002108/0.5637, allocations: 324.2 kB / 0.618 GB, free: 10.18 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01041/0.5741, allocations: 4.105 MB / 0.622 GB, free: 7.836 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.223e-05/0.5742, allocations: 3.938 kB / 0.622 GB, free: 7.832 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000378/0.5746, allocations: 108 kB / 0.6221 GB, free: 7.75 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.006e-05/0.5747, allocations: 65.66 kB / 0.6222 GB, free: 7.75 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01067/0.5854, allocations: 3.991 MB / 0.6261 GB, free: 5.859 MB / 430.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.03675/0.6221, allocations: 16.28 MB / 0.642 GB, free: 5.137 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01718/0.6394, allocations: 7.201 MB / 0.649 GB, free: 13.75 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001225/0.6406, allocations: 0.7699 MB / 0.6498 GB, free: 12.81 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007351/0.648, allocations: 3.027 MB / 0.6527 GB, free: 9.73 MB / 462.1 MB Notification: Performance of pre-optimization done (n=331): time 5.55e-06/0.648, allocations: 0 / 0.6527 GB, free: 9.73 MB / 462.1 MB Notification: Performance of matching and sorting (n=331): time 0.1122/0.7602, allocations: 30.34 MB / 0.6824 GB, free: 11.29 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.7604, allocations: 196.9 kB / 0.6826 GB, free: 11.06 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008395/0.7688, allocations: 4.495 MB / 0.6869 GB, free: 6.566 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00154/0.7704, allocations: 105.7 kB / 0.687 GB, free: 6.457 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001483/0.7719, allocations: 1.751 MB / 0.6888 GB, free: 4.695 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002086/0.7739, allocations: 1.194 MB / 0.6899 GB, free: 3.484 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005241/0.7745, allocations: 118 kB / 0.69 GB, free: 3.371 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003274/0.7748, allocations: 0.5182 MB / 0.6905 GB, free: 2.844 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007454/0.7823, allocations: 3.182 MB / 0.6936 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008859/0.7912, allocations: 3.682 MB / 0.6972 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008673/0.7999, allocations: 3.422 MB / 0.7006 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.452e-05/0.7999, allocations: 0 / 0.7006 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of matching and sorting (n=739) (initialization): time 0.02504/0.825, allocations: 9.956 MB / 0.7103 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.668e-05/0.8251, allocations: 8 kB / 0.7103 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.517e-05/0.8251, allocations: 8 kB / 0.7103 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02635/0.8515, allocations: 11.1 MB / 0.7212 GB, free: 3.285 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005612/0.8572, allocations: 0.9869 MB / 0.7221 GB, free: 2.297 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01775/0.875, allocations: 6.976 MB / 0.7289 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009391/0.8844, allocations: 0.8348 MB / 0.7298 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001623/0.8861, allocations: 191.9 kB / 0.7299 GB, free: 10.26 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 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,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 (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 {80 72} Notification: Performance of prepare postOptimizeDAE: time 0.003617/0.8897, allocations: 0.7636 MB / 0.7307 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001882/0.8916, allocations: 473.9 kB / 0.7311 GB, free: 9.016 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04212/0.9337, allocations: 13.95 MB / 0.7448 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.567e-05/0.9338, allocations: 32 kB / 0.7448 GB, free: 10.97 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.46e-05/0.9339, allocations: 4 kB / 0.7448 GB, free: 10.97 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001435/0.934, allocations: 19.92 kB / 0.7448 GB, free: 10.95 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.05876/0.9928, allocations: 20.25 MB / 0.7646 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.476e-05/0.9928, allocations: 1.875 kB / 0.7646 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003342/0.9962, allocations: 443.5 kB / 0.765 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01774/1.014, allocations: 5.562 MB / 0.7704 GB, free: 420 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001289/1.015, allocations: 79.97 kB / 0.7705 GB, free: 340 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3771/1.392, allocations: 23.24 MB / 0.7932 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/1.392, allocations: 3.719 kB / 0.7932 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05206/1.445, allocations: 17.4 MB / 0.8102 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002457/1.447, allocations: 0.7131 MB / 0.8109 GB, free: 160 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002621/1.45, allocations: 69.28 kB / 0.811 GB, free: 160 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006527/1.456, allocations: 495.8 kB / 0.8115 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002977/1.459, allocations: 0.6264 MB / 0.8121 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000682/1.46, allocations: 89.83 kB / 0.8121 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00653/1.467, allocations: 2.956 MB / 0.815 GB, free: 158.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.51e-07/1.467, allocations: 0 / 0.815 GB, free: 158.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007402/1.474, allocations: 1.435 MB / 0.8164 GB, free: 158.5 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 (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 {54 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.04568/1.52, allocations: 18.04 MB / 0.8341 GB, free: 144.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02261/1.542, allocations: 8.575 MB / 0.8424 GB, free: 136 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.348e-06/1.542, allocations: 4.125 kB / 0.8424 GB, free: 136 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01359/1.556, allocations: 4.975 MB / 0.8473 GB, free: 131 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004102/1.56, allocations: 344 kB / 0.8476 GB, free: 130.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02475/1.585, allocations: 16.5 MB / 0.8637 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001316/1.586, allocations: 2.431 MB / 0.8661 GB, free: 111.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002398/1.589, allocations: 456.3 kB / 0.8665 GB, free: 111.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002426/1.591, allocations: 1.979 MB / 0.8685 GB, free: 109.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.012e-06/1.591, allocations: 0 / 0.8685 GB, free: 109.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2365/1.828, allocations: 105.6 MB / 0.9716 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001982/1.828, allocations: 208.4 kB / 0.9718 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.394/7.222, allocations: 0 / 0.9718 GB, free: 3.684 MB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_AVR_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=0.001 OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_AVR.fmu > OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe 2>&1) Environment - environmentSimulation: