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.004951/0.004951, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.229/1.229, allocations: 222.9 MB / 239.4 MB, free: 4.543 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.001182/0.001182, allocations: 184.5 kB / 289.7 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4041/0.4041, allocations: 78.52 MB / 418.4 MB, free: 3.164 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 80.2 kB / 0.5531 GB, free: 1.5 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2575, allocations: 68.17 MB / 0.6197 GB, free: 9.414 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR): time 0.01376/0.2713, allocations: 19.5 MB / 0.6388 GB, free: 6.621 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01092/0.2823, allocations: 6.395 MB / 0.645 GB, free: 216 kB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003017/0.2853, allocations: 43.94 kB / 0.645 GB, free: 172 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002558/0.2879, allocations: 0.9802 MB / 0.646 GB, free: 15.18 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007157/0.2951, allocations: 2.679 MB / 0.6486 GB, free: 12.5 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004322/0.2994, allocations: 2.178 MB / 0.6507 GB, free: 10.34 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.008317/0.3078, allocations: 7.332 MB / 0.6579 GB, free: 2.992 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002108/0.3099, allocations: 1.318 MB / 0.6592 GB, free: 1.617 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003571/0.3135, allocations: 2.724 MB / 0.6618 GB, free: 14.88 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004243/0.3177, allocations: 3.334 MB / 0.6651 GB, free: 11.54 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00171/0.3195, allocations: 0.6719 MB / 0.6658 GB, free: 10.86 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002244/0.3217, allocations: 0.9528 MB / 0.6667 GB, free: 9.91 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001889/0.3236, allocations: 1.479 MB / 0.6681 GB, free: 8.426 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003339/0.327, allocations: 2.86 MB / 0.6709 GB, free: 5.551 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007457/0.3345, allocations: 8.204 MB / 0.6789 GB, free: 13.32 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3345, allocations: 4 kB / 0.6789 GB, free: 13.32 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3345, allocations: 3.938 kB / 0.6789 GB, free: 13.31 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001679/0.3347, allocations: 0 / 0.6789 GB, free: 13.31 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.03847/0.3732, allocations: 10.53 MB / 0.6892 GB, free: 2.688 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.3732, allocations: 16.03 kB / 0.6892 GB, free: 2.672 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001034/0.3743, allocations: 387.6 kB / 0.6896 GB, free: 2.285 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01161/0.3859, allocations: 1.937 MB / 0.6915 GB, free: 348 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007267/0.3932, allocations: 3.363 MB / 0.6948 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001106/0.3943, allocations: 1.009 MB / 0.6958 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001146/0.3955, allocations: 323.8 kB / 0.6961 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009416/0.4049, allocations: 3.956 MB / 0.7 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-05/0.405, allocations: 3.938 kB / 0.7 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005685/0.4056, allocations: 104 kB / 0.7001 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.83e-05/0.4056, allocations: 71.94 kB / 0.7001 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008525/0.4142, allocations: 3.804 MB / 0.7038 GB, free: 3.398 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.02897/0.4432, allocations: 15.51 MB / 0.719 GB, free: 3.301 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01498/0.4582, allocations: 6.46 MB / 0.7253 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005084/0.4633, allocations: 2.434 MB / 0.7277 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008657/0.4642, allocations: 0.7698 MB / 0.7284 GB, free: 9.211 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006146/0.4703, allocations: 2.864 MB / 0.7312 GB, free: 6.293 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=331): time 6.943e-06/0.4704, allocations: 0 / 0.7312 GB, free: 6.293 MB / 0.5294 GB Notification: Performance of matching and sorting (n=331): time 0.1018/0.5722, allocations: 25.85 MB / 0.7565 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.5723, allocations: 192.8 kB / 0.7566 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00843/0.5807, allocations: 4.534 MB / 0.7611 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0009389/0.5817, allocations: 101.7 kB / 0.7612 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001708/0.5834, allocations: 1.743 MB / 0.7629 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001834/0.5853, allocations: 1.202 MB / 0.764 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003598/0.5889, allocations: 1.07 MB / 0.7651 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.167e-05/0.589, allocations: 309.1 kB / 0.7654 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006434/0.5954, allocations: 3.014 MB / 0.7683 GB, free: 104 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2237/0.8192, allocations: 3.535 MB / 0.7718 GB, free: 125.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0128/0.832, allocations: 6.104 MB / 0.7777 GB, free: 123 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.894e-05/0.8321, allocations: 2.75 kB / 0.7777 GB, free: 123 MB / 0.5606 GB Notification: Performance of matching and sorting (n=739) (initialization): time 0.01819/0.8502, allocations: 9.397 MB / 0.7869 GB, free: 119.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.879e-05/0.8503, allocations: 8.641 kB / 0.7869 GB, free: 119.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.393e-05/0.8503, allocations: 7.531 kB / 0.7869 GB, free: 119.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02136/0.8717, allocations: 10.29 MB / 0.797 GB, free: 114.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004429/0.8762, allocations: 0.9899 MB / 0.798 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01323/0.8894, allocations: 6.288 MB / 0.8041 GB, free: 108.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006401/0.8959, allocations: 0.7318 MB / 0.8048 GB, free: 108.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006832/0.8966, allocations: 193 kB / 0.805 GB, free: 108.1 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.001607/0.8982, allocations: 0.7696 MB / 0.8057 GB, free: 107.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009203/0.8991, allocations: 469.8 kB / 0.8062 GB, free: 107.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03122/0.9303, allocations: 11.61 MB / 0.8175 GB, free: 96.98 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.679e-05/0.9304, allocations: 35.94 kB / 0.8176 GB, free: 96.94 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.9304, allocations: 0 / 0.8176 GB, free: 96.94 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-05/0.9305, allocations: 19.94 kB / 0.8176 GB, free: 96.92 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.03787/0.9684, allocations: 17.66 MB / 0.8348 GB, free: 79.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.955e-05/0.9684, allocations: 7.984 kB / 0.8348 GB, free: 79.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002598/0.971, allocations: 431.5 kB / 0.8352 GB, free: 78.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01317/0.9842, allocations: 4.757 MB / 0.8399 GB, free: 73.97 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007009/0.985, allocations: 83.92 kB / 0.84 GB, free: 73.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04376/1.029, allocations: 21.45 MB / 0.8609 GB, free: 52.33 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/1.029, allocations: 4 kB / 0.8609 GB, free: 52.32 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03731/1.066, allocations: 14.77 MB / 0.8753 GB, free: 37.47 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001426/1.068, allocations: 0.6974 MB / 0.876 GB, free: 36.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001162/1.069, allocations: 71.94 kB / 0.8761 GB, free: 36.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00416/1.073, allocations: 387.5 kB / 0.8765 GB, free: 36.34 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00199/1.075, allocations: 0.6199 MB / 0.8771 GB, free: 35.72 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002942/1.075, allocations: 91.97 kB / 0.8772 GB, free: 35.63 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00407/1.079, allocations: 2.988 MB / 0.8801 GB, free: 32.66 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.01e-07/1.079, allocations: 0 / 0.8801 GB, free: 32.66 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003704/1.083, allocations: 1.442 MB / 0.8815 GB, free: 31.26 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.03603/1.119, allocations: 15.24 MB / 0.8964 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01803/1.137, allocations: 7.941 MB / 0.9041 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/1.137, allocations: 0 / 0.9041 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01084/1.148, allocations: 4.492 MB / 0.9085 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003183/1.151, allocations: 410.3 kB / 0.9089 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1063/1.258, allocations: 49.78 MB / 0.9575 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001712/1.259, allocations: 2.333 MB / 0.9598 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001983/1.261, allocations: 449.2 kB / 0.9602 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002759/1.264, allocations: 1.995 MB / 0.9622 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of SimCode: time 6.61e-07/1.264, allocations: 4 kB / 0.9622 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3867/1.651, allocations: 126 MB / 1.085 GB, free: 187.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.09/21.74, allocations: 10.25 kB / 1.085 GB, free: 187.8 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)