Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.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.Tests.Controls.PSSE.ES.ESAC1A,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESAC1A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESAC1A",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.0009794/0.0009794, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.488/1.488, allocations: 223.2 MB / 239 MB, free: 5.461 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.001473/0.001473, allocations: 188.5 kB / 290.3 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5706/0.5706, allocations: 78.55 MB / 419.9 MB, free: 4.383 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004131/0.0004132, allocations: 8 kB / 499.9 MB, free: 6.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.1773, allocations: 69.36 MB / 0.5559 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A): time 0.3228/0.5001, allocations: 8.286 MB / 0.564 GB, free: 36.49 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006084/0.5063, allocations: 2.855 MB / 0.5668 GB, free: 35.7 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001385/0.5077, allocations: 20.25 kB / 0.5668 GB, free: 35.7 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008472/0.5086, allocations: 247.9 kB / 0.567 GB, free: 35.59 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002519/0.5111, allocations: 1.022 MB / 0.568 GB, free: 35.2 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001685/0.5128, allocations: 0.7281 MB / 0.5688 GB, free: 35.11 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002547/0.5153, allocations: 2.371 MB / 0.5711 GB, free: 34.33 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006317/0.516, allocations: 430.9 kB / 0.5715 GB, free: 34.18 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009846/0.517, allocations: 0.8383 MB / 0.5723 GB, free: 33.82 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009975/0.518, allocations: 1.086 MB / 0.5734 GB, free: 33.36 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001994/0.5182, allocations: 103 kB / 0.5735 GB, free: 33.36 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007081/0.5189, allocations: 351.6 kB / 0.5738 GB, free: 33.28 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003061/0.5192, allocations: 396.5 kB / 0.5742 GB, free: 33.06 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002809/0.5195, allocations: 327.1 kB / 0.5745 GB, free: 32.86 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001526/0.521, allocations: 2.013 MB / 0.5764 GB, free: 32.31 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.335e-06/0.5211, allocations: 6.109 kB / 0.5765 GB, free: 32.31 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.534e-06/0.5211, allocations: 2.719 kB / 0.5765 GB, free: 32.31 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.541e-05/0.5211, allocations: 0 / 0.5765 GB, free: 32.31 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: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 0.01214/0.5332, allocations: 3.898 MB / 0.5803 GB, free: 30.91 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.5333, allocations: 8.781 kB / 0.5803 GB, free: 30.91 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003651/0.5337, allocations: 188.2 kB / 0.5805 GB, free: 30.78 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004209/0.5379, allocations: 0.7808 MB / 0.5812 GB, free: 30.61 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002015/0.5399, allocations: 1.194 MB / 0.5824 GB, free: 29.87 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004823/0.5404, allocations: 0.514 MB / 0.5829 GB, free: 29.4 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002106/0.5406, allocations: 127.7 kB / 0.583 GB, free: 29.36 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0032/0.5438, allocations: 1.703 MB / 0.5847 GB, free: 28.7 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/0.5439, allocations: 2.875 kB / 0.5847 GB, free: 28.7 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001255/0.544, allocations: 45.5 kB / 0.5847 GB, free: 28.66 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.353e-05/0.544, allocations: 30.38 kB / 0.5847 GB, free: 28.66 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00354/0.5476, allocations: 1.604 MB / 0.5863 GB, free: 28.13 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.01092/0.5585, allocations: 5.712 MB / 0.5919 GB, free: 24.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009663/0.5682, allocations: 3.768 MB / 0.5956 GB, free: 23.61 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002773/0.5711, allocations: 1.086 MB / 0.5966 GB, free: 23.2 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005793/0.5717, allocations: 0.7375 MB / 0.5973 GB, free: 22.34 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002981/0.5747, allocations: 1.264 MB / 0.5986 GB, free: 21.88 MB / 430.1 MB Notification: Performance of pre-optimization done (n=139): time 4.138e-06/0.5747, allocations: 0 / 0.5986 GB, free: 21.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=139): time 0.04474/0.6194, allocations: 12.06 MB / 0.6104 GB, free: 19.65 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.667e-05/0.6196, allocations: 151.8 kB / 0.6105 GB, free: 19.48 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002785/0.6223, allocations: 1.546 MB / 0.612 GB, free: 18.64 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002978/0.6227, allocations: 56.11 kB / 0.6121 GB, free: 18.59 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004594/0.6231, allocations: 0.6772 MB / 0.6127 GB, free: 17.98 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005111/0.6236, allocations: 0.4925 MB / 0.6132 GB, free: 17.54 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/0.6238, allocations: 44.88 kB / 0.6133 GB, free: 17.51 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.6239, allocations: 382.8 kB / 0.6136 GB, free: 17.14 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00237/0.6263, allocations: 1.162 MB / 0.6148 GB, free: 16.59 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00255/0.6288, allocations: 1.4 MB / 0.6161 GB, free: 15.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002195/0.6311, allocations: 1.245 MB / 0.6173 GB, free: 14.56 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.6311, allocations: 7.938 kB / 0.6173 GB, free: 14.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=265) (initialization): time 0.008576/0.6397, allocations: 4.414 MB / 0.6217 GB, free: 10.12 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001019/0.6398, allocations: 213.2 kB / 0.6219 GB, free: 9.863 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.6398, allocations: 4 kB / 0.6219 GB, free: 9.859 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008345/0.6481, allocations: 3.175 MB / 0.625 GB, free: 6.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00145/0.6496, allocations: 355.5 kB / 0.6253 GB, free: 6.332 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005782/0.6554, allocations: 3.681 MB / 0.6289 GB, free: 2.602 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002348/0.6578, allocations: 335.7 kB / 0.6292 GB, free: 2.273 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001445/0.6579, allocations: 71.98 kB / 0.6293 GB, free: 2.203 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.688e-06/0.6579, allocations: 4 kB / 0.6293 GB, free: 2.199 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008641/0.6666, allocations: 4.2 MB / 0.6334 GB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.6666, allocations: 2.422 kB / 0.6334 GB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009284/0.6759, allocations: 3.168 MB / 0.6365 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001512/0.6774, allocations: 355.5 kB / 0.6368 GB, free: 10.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006731/0.6842, allocations: 3.659 MB / 0.6404 GB, free: 6.758 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002394/0.6866, allocations: 310.3 kB / 0.6407 GB, free: 6.453 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002475/0.6869, allocations: 75.97 kB / 0.6408 GB, free: 6.379 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,eSAC1A.rotatingExciterWithDemagnetization.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (200): * Single equations (assignments): 198 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {30 26,1 10} Notification: Performance of prepare postOptimizeDAE: time 0.0009523/0.6878, allocations: 411.8 kB / 0.6412 GB, free: 5.969 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006962/0.6885, allocations: 181.7 kB / 0.6413 GB, free: 5.789 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01673/0.7053, allocations: 6.112 MB / 0.6473 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.388e-05/0.7053, allocations: 20 kB / 0.6473 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.228e-05/0.7053, allocations: 3.953 kB / 0.6473 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.293e-05/0.7054, allocations: 7.969 kB / 0.6473 GB, free: 15.62 MB / 462.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 postOpt removeSimpleEquations (simulation): time 0.02106/0.7264, allocations: 8.329 MB / 0.6555 GB, free: 7.16 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.819e-05/0.7265, allocations: 5.578 kB / 0.6555 GB, free: 7.156 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001238/0.7278, allocations: 188.8 kB / 0.6557 GB, free: 6.973 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007502/0.7353, allocations: 2.511 MB / 0.6581 GB, free: 4.461 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003046/0.7356, allocations: 31.98 kB / 0.6581 GB, free: 4.43 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02466/0.7603, allocations: 10.31 MB / 0.6682 GB, free: 9.984 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.7603, allocations: 3.953 kB / 0.6682 GB, free: 9.98 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02009/0.7804, allocations: 7.394 MB / 0.6754 GB, free: 2.555 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008222/0.7813, allocations: 294.5 kB / 0.6757 GB, free: 2.246 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006987/0.782, allocations: 31.95 kB / 0.6757 GB, free: 2.215 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002423/0.7844, allocations: 212.8 kB / 0.6759 GB, free: 2.008 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001029/0.7855, allocations: 277.2 kB / 0.6762 GB, free: 1.738 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002153/0.7857, allocations: 39.98 kB / 0.6762 GB, free: 1.699 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002096/0.7878, allocations: 1.045 MB / 0.6773 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.7878, allocations: 0 / 0.6773 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003708/0.7916, allocations: 0.9324 MB / 0.6782 GB, free: 15.72 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,eSAC1A.imLeadLag.TF.x_scaled[1],eSAC1A.imSimpleLag.state,eSAC1A.simpleLagLim.state,eSAC1A.derivative.x,eSAC1A.rotatingExciterWithDemagnetization.sISO.y) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 95 * 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 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.02185/0.8134, allocations: 8.004 MB / 0.686 GB, free: 7.68 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0189/0.8324, allocations: 5.881 MB / 0.6917 GB, free: 1.805 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.09e-05/0.8324, allocations: 4.25 kB / 0.6917 GB, free: 1.801 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006861/0.8393, allocations: 2.282 MB / 0.694 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002056/0.8414, allocations: 163.9 kB / 0.6941 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03767/0.8791, allocations: 15.75 MB / 0.7095 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001219/0.8804, allocations: 1.3 MB / 0.7108 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001357/0.8817, allocations: 202.4 kB / 0.711 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00133/0.8831, allocations: 0.6906 MB / 0.7116 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of SimCode: time 1.924e-06/0.8831, allocations: 3.938 kB / 0.7116 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09391/0.977, allocations: 50.32 MB / 0.7608 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002174/0.9773, allocations: 189.5 kB / 0.761 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.629/4.606, allocations: 3.875 kB / 0.761 GB, free: 10.32 MB / 0.5606 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESAC1A_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESAC1A.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe 2>&1) Environment - environmentSimulation: