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.005645/0.005645, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.361/1.361, allocations: 222.9 MB / 239.4 MB, free: 4.551 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.001388/0.001388, allocations: 184.5 kB / 289.7 MB, free: 2.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4631/0.4631, allocations: 78.53 MB / 418.4 MB, free: 3.137 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 83.88 kB / 0.5531 GB, free: 1.465 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3358, allocations: 68.17 MB / 0.6197 GB, free: 9.336 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR): time 0.01636/0.3522, allocations: 19.51 MB / 0.6387 GB, free: 6.578 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01354/0.3658, allocations: 6.395 MB / 0.645 GB, free: 172 kB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003974/0.3698, allocations: 36 kB / 0.645 GB, free: 136 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003565/0.3734, allocations: 0.9801 MB / 0.646 GB, free: 15.14 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008615/0.3821, allocations: 2.692 MB / 0.6486 GB, free: 12.46 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005182/0.3873, allocations: 2.175 MB / 0.6507 GB, free: 10.3 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.009882/0.3971, allocations: 7.343 MB / 0.6579 GB, free: 2.938 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002668/0.3998, allocations: 1.31 MB / 0.6592 GB, free: 1.57 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004498/0.4044, allocations: 2.724 MB / 0.6618 GB, free: 14.84 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005079/0.4095, allocations: 3.338 MB / 0.6651 GB, free: 11.48 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002533/0.412, allocations: 0.6758 MB / 0.6658 GB, free: 10.81 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002806/0.4148, allocations: 0.945 MB / 0.6667 GB, free: 9.863 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002456/0.4173, allocations: 1.483 MB / 0.6681 GB, free: 8.375 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005101/0.4224, allocations: 2.856 MB / 0.6709 GB, free: 5.504 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01153/0.434, allocations: 8.204 MB / 0.6789 GB, free: 13.27 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.999e-06/0.434, allocations: 11.92 kB / 0.679 GB, free: 13.26 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.434, allocations: 0 / 0.679 GB, free: 13.26 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0002819/0.4343, allocations: 0 / 0.679 GB, free: 13.26 MB / 494.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.04584/0.4802, allocations: 10.53 MB / 0.6892 GB, free: 2.641 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.106e-05/0.4803, allocations: 8.031 kB / 0.6892 GB, free: 2.633 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001807/0.4821, allocations: 395.5 kB / 0.6896 GB, free: 2.238 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01312/0.4952, allocations: 1.933 MB / 0.6915 GB, free: 304 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008822/0.5041, allocations: 3.363 MB / 0.6948 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001289/0.5054, allocations: 1.005 MB / 0.6958 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001417/0.5069, allocations: 331.8 kB / 0.6961 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0111/0.518, allocations: 3.949 MB / 0.6999 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-05/0.5181, allocations: 0 / 0.6999 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007479/0.5189, allocations: 111.9 kB / 0.7001 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-05/0.519, allocations: 71.94 kB / 0.7001 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01012/0.5291, allocations: 3.8 MB / 0.7038 GB, free: 3.359 MB / 0.4981 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.03507/0.5642, allocations: 15.51 MB / 0.719 GB, free: 3.254 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01739/0.5816, allocations: 6.455 MB / 0.7253 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00641/0.5881, allocations: 2.438 MB / 0.7277 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001111/0.5892, allocations: 0.762 MB / 0.7284 GB, free: 9.172 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007743/0.597, allocations: 2.863 MB / 0.7312 GB, free: 6.254 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=331): time 7.173e-06/0.5971, allocations: 3.938 kB / 0.7312 GB, free: 6.25 MB / 0.5294 GB Notification: Performance of matching and sorting (n=331): time 0.1131/0.7101, allocations: 25.86 MB / 0.7565 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/0.7103, allocations: 188.9 kB / 0.7566 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01059/0.7209, allocations: 4.534 MB / 0.7611 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001137/0.7221, allocations: 105.7 kB / 0.7612 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002011/0.7241, allocations: 1.743 MB / 0.7629 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00218/0.7263, allocations: 1.206 MB / 0.7641 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004491/0.7308, allocations: 1.063 MB / 0.7651 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.821e-05/0.7309, allocations: 301.1 kB / 0.7654 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00775/0.7387, allocations: 3.014 MB / 0.7683 GB, free: 68 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3246/1.063, allocations: 3.546 MB / 0.7718 GB, free: 125.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01637/1.08, allocations: 6.106 MB / 0.7777 GB, free: 122.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.516e-05/1.08, allocations: 1.156 kB / 0.7777 GB, free: 122.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=739) (initialization): time 0.02387/1.104, allocations: 9.393 MB / 0.7869 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.603e-05/1.104, allocations: 7.812 kB / 0.7869 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.761e-05/1.104, allocations: 12.66 kB / 0.7869 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02425/1.128, allocations: 10.29 MB / 0.797 GB, free: 114.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00522/1.133, allocations: 0.9882 MB / 0.7979 GB, free: 113.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01547/1.149, allocations: 6.286 MB / 0.8041 GB, free: 108.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007539/1.156, allocations: 0.7346 MB / 0.8048 GB, free: 108.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001094/1.158, allocations: 193.6 kB / 0.805 GB, free: 107.9 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.002249/1.16, allocations: 0.7676 MB / 0.8057 GB, free: 107.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001314/1.161, allocations: 466 kB / 0.8062 GB, free: 106.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03535/1.197, allocations: 11.61 MB / 0.8175 GB, free: 96.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.7e-05/1.197, allocations: 35.94 kB / 0.8176 GB, free: 96.77 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.427e-05/1.197, allocations: 0.875 kB / 0.8176 GB, free: 96.77 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.846e-05/1.197, allocations: 22.47 kB / 0.8176 GB, free: 96.75 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.04642/1.243, allocations: 17.67 MB / 0.8348 GB, free: 78.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.428e-05/1.243, allocations: 0 / 0.8348 GB, free: 78.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002878/1.246, allocations: 431.4 kB / 0.8352 GB, free: 78.56 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01538/1.262, allocations: 4.753 MB / 0.8399 GB, free: 73.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00105/1.263, allocations: 92.72 kB / 0.84 GB, free: 73.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05101/1.314, allocations: 21.46 MB / 0.8609 GB, free: 52.15 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/1.314, allocations: 4 kB / 0.8609 GB, free: 52.15 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04323/1.357, allocations: 14.77 MB / 0.8754 GB, free: 37.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002029/1.359, allocations: 0.7012 MB / 0.876 GB, free: 36.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001858/1.361, allocations: 71.92 kB / 0.8761 GB, free: 36.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005104/1.366, allocations: 387.5 kB / 0.8765 GB, free: 36.17 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002383/1.368, allocations: 0.6121 MB / 0.8771 GB, free: 35.55 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005177/1.369, allocations: 95.97 kB / 0.8772 GB, free: 35.46 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004998/1.374, allocations: 2.988 MB / 0.8801 GB, free: 32.48 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.31e-07/1.374, allocations: 0 / 0.8801 GB, free: 32.48 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004612/1.379, allocations: 1.443 MB / 0.8815 GB, free: 31.09 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.04088/1.419, allocations: 15.24 MB / 0.8964 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0218/1.441, allocations: 7.932 MB / 0.9041 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/1.441, allocations: 5.312 kB / 0.9041 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01303/1.454, allocations: 4.499 MB / 0.9085 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004823/1.459, allocations: 400.3 kB / 0.9089 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1309/1.59, allocations: 49.78 MB / 0.9575 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002292/1.592, allocations: 2.341 MB / 0.9598 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002515/1.595, allocations: 449.2 kB / 0.9602 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003794/1.599, allocations: 1.995 MB / 0.9622 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of SimCode: time 1.123e-06/1.599, allocations: 0 / 0.9622 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4813/2.08, allocations: 126 MB / 1.085 GB, free: 187.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.1/24.18, allocations: 4.531 kB / 1.085 GB, free: 187.5 MB / 0.67 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/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)