Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE",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.0008405/0.0008405, allocations: 91.06 kB / 15.06 MB, free: 1.098 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.281/1.281, allocations: 223.3 MB / 239 MB, free: 5.441 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.001144/0.001144, allocations: 180.5 kB / 290.3 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4797/0.4797, allocations: 79.48 MB / 420.8 MB, free: 3.926 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003884/0.0003885, allocations: 15.98 kB / 0.4892 GB, free: 5.477 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4097/0.4101, allocations: 69.52 MB / 0.5571 GB, free: 37.8 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.01105/0.4212, allocations: 14.02 MB / 0.5708 GB, free: 33.65 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009353/0.4306, allocations: 4.465 MB / 0.5751 GB, free: 30.41 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003737/0.4344, allocations: 30.03 kB / 0.5752 GB, free: 30.41 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002494/0.4369, allocations: 0.5399 MB / 0.5757 GB, free: 30.18 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006097/0.443, allocations: 1.52 MB / 0.5772 GB, free: 29.18 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003092/0.4461, allocations: 1.158 MB / 0.5783 GB, free: 28.64 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005556/0.4517, allocations: 4.016 MB / 0.5822 GB, free: 26.58 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001605/0.4533, allocations: 0.6587 MB / 0.5829 GB, free: 26.32 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002335/0.4557, allocations: 1.488 MB / 0.5843 GB, free: 25.66 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002842/0.4585, allocations: 2.063 MB / 0.5863 GB, free: 24.76 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001105/0.4596, allocations: 186.2 kB / 0.5865 GB, free: 24.76 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00175/0.4614, allocations: 406.5 kB / 0.5869 GB, free: 24.69 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001078/0.4625, allocations: 0.7035 MB / 0.5876 GB, free: 24.27 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001157/0.4637, allocations: 0.6038 MB / 0.5882 GB, free: 23.9 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003823/0.4675, allocations: 4.012 MB / 0.5921 GB, free: 22.83 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.4675, allocations: 4 kB / 0.5921 GB, free: 22.83 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.4675, allocations: 0 / 0.5921 GB, free: 22.83 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000204/0.4677, allocations: 0 / 0.5921 GB, free: 22.83 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: 493 * Number of variables: 493 Notification: Performance of Generate backend data structure: time 0.02853/0.4963, allocations: 7.743 MB / 0.5997 GB, free: 20.3 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.4963, allocations: 9.516 kB / 0.5997 GB, free: 20.3 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001068/0.4974, allocations: 283.5 kB / 0.6 GB, free: 20.12 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01144/0.5089, allocations: 1.768 MB / 0.6017 GB, free: 19.74 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005601/0.5145, allocations: 2.055 MB / 0.6037 GB, free: 18.48 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007898/0.5153, allocations: 0.6954 MB / 0.6044 GB, free: 17.91 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001058/0.5164, allocations: 243.2 kB / 0.6046 GB, free: 17.83 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0082/0.5246, allocations: 2.849 MB / 0.6074 GB, free: 16.86 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.23e-05/0.5247, allocations: 0 / 0.6074 GB, free: 16.86 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004835/0.5252, allocations: 76.47 kB / 0.6075 GB, free: 16.8 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.855e-05/0.5252, allocations: 44.19 kB / 0.6075 GB, free: 16.8 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007083/0.5323, allocations: 3.022 MB / 0.6104 GB, free: 15.84 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.02189/0.5542, allocations: 11.2 MB / 0.6214 GB, free: 8.172 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01146/0.5657, allocations: 5.675 MB / 0.6269 GB, free: 4.738 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003524/0.5693, allocations: 2.099 MB / 0.629 GB, free: 2.637 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003221/0.5696, allocations: 41.97 kB / 0.629 GB, free: 2.598 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/0.5697, allocations: 60.52 kB / 0.6291 GB, free: 2.527 MB / 430.1 MB Notification: Performance of pre-optimization done (n=249): time 4.458e-06/0.5697, allocations: 0 / 0.6291 GB, free: 2.527 MB / 430.1 MB Notification: Performance of matching and sorting (n=249): time 0.1213/0.6909, allocations: 35.42 MB / 0.6637 GB, free: 15.04 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.005e-05/0.6911, allocations: 77.41 kB / 0.6637 GB, free: 14.95 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007574/0.6987, allocations: 2.874 MB / 0.6665 GB, free: 12.07 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001381/0.7001, allocations: 85.7 kB / 0.6666 GB, free: 11.98 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001936/0.7021, allocations: 1.256 MB / 0.6678 GB, free: 10.71 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002251/0.7044, allocations: 0.9091 MB / 0.6687 GB, free: 9.793 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001396/0.7058, allocations: 80 kB / 0.6688 GB, free: 9.715 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0004724/0.7063, allocations: 462.9 kB / 0.6692 GB, free: 9.254 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006823/0.7131, allocations: 2.441 MB / 0.6716 GB, free: 6.805 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007451/0.7206, allocations: 2.845 MB / 0.6744 GB, free: 3.867 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006769/0.7274, allocations: 2.628 MB / 0.677 GB, free: 1.238 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.311e-05/0.7275, allocations: 0 / 0.677 GB, free: 1.238 MB / 478.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.0212/0.7487, allocations: 7.697 MB / 0.6845 GB, free: 9.531 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.092e-05/0.7488, allocations: 10.34 kB / 0.6845 GB, free: 9.523 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.215e-05/0.7488, allocations: 8.688 kB / 0.6845 GB, free: 9.516 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01862/0.7674, allocations: 6.499 MB / 0.6909 GB, free: 3.012 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003577/0.7711, allocations: 0.6677 MB / 0.6915 GB, free: 2.344 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01454/0.7856, allocations: 6.143 MB / 0.6975 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005741/0.7914, allocations: 0.5938 MB / 0.6981 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001046/0.7925, allocations: 140 kB / 0.6982 GB, free: 11.44 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (410): * Single equations (assignments): 409 * 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 {62 60} Notification: Performance of prepare postOptimizeDAE: time 0.002512/0.7951, allocations: 0.5296 MB / 0.6987 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001567/0.7966, allocations: 339.6 kB / 0.6991 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03533/0.832, allocations: 12.84 MB / 0.7116 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.705e-05/0.8321, allocations: 28 kB / 0.7116 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.668e-05/0.8321, allocations: 4 kB / 0.7116 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000105/0.8323, allocations: 11.95 kB / 0.7116 GB, free: 13.6 MB / 0.5137 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.04595/0.8782, allocations: 16.98 MB / 0.7282 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.044e-05/0.8783, allocations: 0 / 0.7282 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001748/0.8801, allocations: 263.6 kB / 0.7285 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01657/0.8967, allocations: 5.573 MB / 0.7339 GB, free: 6.5 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009086/0.8976, allocations: 53.06 kB / 0.734 GB, free: 6.449 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05526/0.9529, allocations: 22 MB / 0.7555 GB, free: 304 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.007e-05/0.953, allocations: 4.516 kB / 0.7555 GB, free: 300 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04519/0.9982, allocations: 15.31 MB / 0.7704 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002495/1.001, allocations: 0.4922 MB / 0.7709 GB, free: 376 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002233/1.003, allocations: 51.94 kB / 0.7709 GB, free: 324 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.27/1.273, allocations: 337.4 kB / 0.7713 GB, free: 167.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002336/1.275, allocations: 0.5132 MB / 0.7718 GB, free: 167.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006288/1.276, allocations: 66.39 kB / 0.7718 GB, free: 167.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00401/1.28, allocations: 1.852 MB / 0.7736 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2e-07/1.28, allocations: 0 / 0.7736 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006131/1.286, allocations: 1.114 MB / 0.7747 GB, free: 167.3 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (g1.gENSAL.w,g1.gENSAL.delta,g1.gENSAL.Epq,g1.gENSAL.PSIkd,g1.gENSAL.PSIppq,g2.gENSAL.w,g2.gENSAL.delta,g2.gENSAL.Epq,g2.gENSAL.PSIkd,g2.gENSAL.PSIppq,g3.gENSAL.w,g3.gENSAL.delta,g3.gENSAL.Epq,g3.gENSAL.PSIkd,g3.gENSAL.PSIppq,g4.gENSAL.w,g4.gENSAL.delta,g4.gENSAL.Epq,g4.gENSAL.PSIkd,g4.gENSAL.PSIppq) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 155 * 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.03974/1.326, allocations: 15.69 MB / 0.79 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01853/1.345, allocations: 6.81 MB / 0.7967 GB, free: 166.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/1.345, allocations: 0 / 0.7967 GB, free: 166.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01164/1.356, allocations: 4.263 MB / 0.8009 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004128/1.361, allocations: 265.1 kB / 0.8011 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06261/1.423, allocations: 29.98 MB / 0.8304 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002022/1.425, allocations: 1.845 MB / 0.8322 GB, free: 143.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001873/1.427, allocations: 297.4 kB / 0.8325 GB, free: 143.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002323/1.429, allocations: 1.382 MB / 0.8338 GB, free: 142.4 MB / 0.5606 GB Notification: Performance of SimCode: time 1.673e-06/1.429, allocations: 0 / 0.8338 GB, free: 142.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1318/1.561, allocations: 81.28 MB / 0.9132 GB, free: 64.62 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001881/1.562, allocations: 207.6 kB / 0.9134 GB, free: 64.38 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.101/6.663, allocations: 2.5 kB / 0.9134 GB, free: 64.38 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=0.001 OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE.fmu > OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1) Environment - environmentSimulation: